diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml
index f783131c953..0ab7d5b7bcd 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 4de50c27398..090a85e9cb1 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 5d5afb9c385..d07bac32575 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 a6d26fcbbb5..0cedd8e8a69 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