diff --git a/flink-connectors/flink-hadoop-compatibility/pom.xml b/flink-connectors/flink-hadoop-compatibility/pom.xml
index 0d23e470b81816f4820025094589f94466541c6d..1e5ed942b4450b70cae875037bf298b751c01693 100644
--- a/flink-connectors/flink-hadoop-compatibility/pom.xml
+++ b/flink-connectors/flink-hadoop-compatibility/pom.xml
@@ -64,6 +64,7 @@ under the License.
org.apache.flink
flink-shaded-hadoop2
${project.version}
+ provided
diff --git a/flink-connectors/flink-hcatalog/pom.xml b/flink-connectors/flink-hcatalog/pom.xml
index 32a42ca4a26d7d17007b53d5da759fe98839c7fa..087559f5be01bb30eafce95dcb41957ca7206f52 100644
--- a/flink-connectors/flink-hcatalog/pom.xml
+++ b/flink-connectors/flink-hcatalog/pom.xml
@@ -66,6 +66,13 @@ under the License.
provided
+
+ org.apache.flink
+ flink-shaded-hadoop2
+ ${project.version}
+ provided
+
+