This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch branch-3.3.0
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.3.0 by this push:
new 69eeb67 YARN-9898. Dependency netty-all-4.1.27.Final doesn't support
ARM platform. Contributed by liusheng.
69eeb67 is described below
commit 69eeb673d83ecb161d2bf99022112678359ee697
Author: Ayush Saxena <[email protected]>
AuthorDate: Thu May 14 00:36:20 2020 +0530
YARN-9898. Dependency netty-all-4.1.27.Final doesn't support ARM platform.
Contributed by liusheng.
---
hadoop-hdfs-project/hadoop-hdfs-client/pom.xml | 2 +-
hadoop-hdfs-project/hadoop-hdfs/pom.xml | 2 +-
hadoop-project/pom.xml | 18 +++++++++++++++++-
.../hadoop-yarn/hadoop-yarn-csi/pom.xml | 2 +-
4 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml
b/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml
index 20523cf..e8f34b3 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">
<scope>test</scope>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
+ <groupId>${netty4.group}</groupId>
<artifactId>netty-all</artifactId>
<scope>test</scope>
</dependency>
diff --git a/hadoop-hdfs-project/hadoop-hdfs/pom.xml
b/hadoop-hdfs-project/hadoop-hdfs/pom.xml
index be2164f..d4225d3 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">
<scope>compile</scope>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
+ <groupId>${netty4.group}</groupId>
<artifactId>netty-all</artifactId>
<scope>compile</scope>
</dependency>
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 4ef1870..a0b130c 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -141,6 +141,7 @@
<metrics.version>3.2.4</metrics.version>
<netty3.version>3.10.6.Final</netty3.version>
<netty4.version>4.1.48.Final</netty4.version>
+ <netty4.group>io.netty</netty4.group>
<!-- Maven protoc compiler -->
<protobuf-maven-plugin.version>0.5.1</protobuf-maven-plugin.version>
@@ -892,7 +893,7 @@
</dependency>
<dependency>
- <groupId>io.netty</groupId>
+ <groupId>${netty4.group}</groupId>
<artifactId>netty-all</artifactId>
<version>${netty4.version}</version>
</dependency>
@@ -2216,6 +2217,21 @@
</build>
</profile>
<profile>
+ <id>aarch64</id>
+ <properties>
+ <!-- To make hadoop fully support ARM64 now, here add a workaround
using an unofficial
+ netty-all package which support ARM64. Once the Netty officially
support ARM64 in a
+ new release, we need to remove this and upgrade to use Netty official
package -->
+ <netty4.group>org.openlabtesting.netty</netty4.group>
+ </properties>
+ <activation>
+ <os>
+ <family>linux</family>
+ <arch>aarch64</arch>
+ </os>
+ </activation>
+ </profile>
+ <profile>
<id>test-patch</id>
<activation>
<activeByDefault>false</activeByDefault>
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 9324353..763f6fb 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 @@
<version>${protobuf.version}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
+ <groupId>${netty4.group}</groupId>
<artifactId>netty-all</artifactId>
</dependency>
<dependency>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]