diff --git a/hudi-client/pom.xml b/hudi-client/pom.xml
index d350777cf..9516f4906 100644
--- a/hudi-client/pom.xml
+++ b/hudi-client/pom.xml
@@ -231,6 +231,13 @@
hive-exec
${hive.version}
test
+ ${hive.exec.classifier}
+
+
+ ${hive.groupid}
+ hive-metastore
+ ${hive.version}
+ test
diff --git a/hudi-hadoop-mr/pom.xml b/hudi-hadoop-mr/pom.xml
index 6bc3c8e42..525aa0aae 100644
--- a/hudi-hadoop-mr/pom.xml
+++ b/hudi-hadoop-mr/pom.xml
@@ -79,6 +79,7 @@
${hive.groupid}
hive-exec
+ ${hive.exec.classifier}
diff --git a/hudi-utilities/pom.xml b/hudi-utilities/pom.xml
index ba59e224c..4c88eb05d 100644
--- a/hudi-utilities/pom.xml
+++ b/hudi-utilities/pom.xml
@@ -329,6 +329,7 @@
hive-exec
${hive.version}
test
+ ${hive.exec.classifier}
diff --git a/pom.xml b/pom.xml
index ab99498ff..36401fabb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,6 +83,7 @@
2.7.3
org.apache.hive
2.3.1
+ core
4.1.1
2.1.0
1.7.7
@@ -783,6 +784,7 @@
hive-exec
${hive.version}
provided
+ ${hive.exec.classifier}
javax.mail