diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 9565c0c0cbb..9d21de3a0a5 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -892,7 +892,7 @@
- io.netty
+ ${netty4.group}
netty-all
${netty4.version}
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
index 3d86b6ba200..9ccc4220756 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
@@ -44,7 +44,7 @@
${protobuf.version}
- io.netty
+ ${netty4.group}
netty-all
diff --git a/pom.xml b/pom.xml
index 7e94cfb8ad0..6afeeab411f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -117,6 +117,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
bash
org.fusesource.leveldbjni
+ io.netty
@@ -684,6 +685,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
aarch64
org.openlabtesting.leveldbjni
+
+ org.openlabtesting.netty