diff --git a/hudi-sync/hudi-dla-sync/pom.xml b/hudi-sync/hudi-dla-sync/pom.xml
index ff59b3819e754..afb5717318f99 100644
--- a/hudi-sync/hudi-dla-sync/pom.xml
+++ b/hudi-sync/hudi-dla-sync/pom.xml
@@ -116,24 +116,6 @@
org.apache.hive
hive-exec
${hive.version}
-
-
- commons-lang
- commons-lang
-
-
- org.apache.commons
- commons-lang3
-
-
- org.apache.zookeeper
- zookeeper
-
-
- org.pentaho
- *
-
-
diff --git a/hudi-sync/hudi-hive-sync/pom.xml b/hudi-sync/hudi-hive-sync/pom.xml
index d1c45ab8bb79c..7cc51a3068132 100644
--- a/hudi-sync/hudi-hive-sync/pom.xml
+++ b/hudi-sync/hudi-hive-sync/pom.xml
@@ -104,16 +104,7 @@
${hive.groupid}
hive-service
${hive.version}
-
-
- org.slf4j
- slf4j-api
-
-
- org.slf4j
- slf4j-log4j12
-
-
+ test
${hive.groupid}
@@ -160,6 +151,13 @@
+
+ org.apache.logging.log4j
+ log4j-core
+ 2.17.0
+ test
+
+
org.eclipse.jetty.aggregate
jetty-all
diff --git a/packaging/hudi-flink-bundle/pom.xml b/packaging/hudi-flink-bundle/pom.xml
index a2f91491ef1b0..bbc9620b4bd2a 100644
--- a/packaging/hudi-flink-bundle/pom.xml
+++ b/packaging/hudi-flink-bundle/pom.xml
@@ -444,28 +444,6 @@
${hive.groupid}
hive-exec
${hive.version}
-
-
- javax.mail
- mail
-
-
- org.eclipse.jetty.aggregate
- *
-
-
- guava
- com.google.guava
-
-
- org.pentaho
- *
-
-
- com.esotericsoftware
- kryo-shaded
-
-
${hive.groupid}
diff --git a/packaging/hudi-integ-test-bundle/pom.xml b/packaging/hudi-integ-test-bundle/pom.xml
index a71bfaddbd267..d90f6acb01898 100644
--- a/packaging/hudi-integ-test-bundle/pom.xml
+++ b/packaging/hudi-integ-test-bundle/pom.xml
@@ -380,12 +380,6 @@
${hive.groupid}
hive-exec
${hive.version}
-
-
- org.pentaho
- *
-
-
compile
diff --git a/pom.xml b/pom.xml
index 51c501721bdd6..ff86f62600efe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -842,6 +842,18 @@
org.pentaho
*
+
+ org.apache.logging.log4j
+ *
+
+
+ org.slf4j
+ slf4j-api
+
+
+ org.slf4j
+ slf4j-log4j12
+
@@ -934,6 +946,10 @@
org.eclipse.jetty.aggregate
*
+
+ org.apache.logging.log4j
+ *
+
@@ -955,6 +971,54 @@
org.pentaho
*
+
+ org.apache.logging.log4j
+ *
+
+
+
+
+ org.apache.hive
+ hive-exec
+ ${hive.version}
+ provided
+
+
+ commons-lang
+ commons-lang
+
+
+ org.apache.commons
+ commons-lang3
+
+
+ guava
+ com.google.guava
+
+
+ org.eclipse.jetty.aggregate
+ *
+
+
+ javax.mail
+ mail
+
+
+ org.apache.zookeeper
+ zookeeper
+
+
+ org.pentaho
+ *
+
+
+ com.esotericsoftware
+ kryo-shaded
+
+
+ org.apache.logging.log4j
+ *
+
@@ -1056,6 +1120,19 @@
test
+
+ org.apache.flink
+ flink-test-utils_${scala.binary.version}
+ ${flink.version}
+ test
+
+
+ org.apache.logging.log4j
+ *
+
+
+
+