diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml
index d65e6030369..bf69d04cffb 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml
@@ -64,7 +64,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
test
- io.netty
+ ${netty4.group}
netty-all
test
diff --git a/hadoop-hdfs-project/hadoop-hdfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs/pom.xml
index ca9096646c7..0160a7d46d0 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/pom.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs/pom.xml
@@ -176,7 +176,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
compile
- io.netty
+ ${netty4.group}
netty-all
compile
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 1e820ea103e..ca716538163 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -141,6 +141,7 @@
3.2.4
3.10.6.Final
4.1.48.Final
+ io.netty
0.5.1
@@ -892,7 +893,7 @@
- io.netty
+ ${netty4.group}
netty-all
${netty4.version}
@@ -2215,6 +2216,21 @@
+
+ aarch64
+
+
+ org.openlabtesting.netty
+
+
+
+ linux
+ aarch64
+
+
+
test-patch
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