This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new 74887ab YARN-9898. Dependency netty-all-4.1.27.Final doesn't support ARM platform.
Contributed by liusheng.
74887ab is described below
commit 74887ab2add810be6792129502e9a0a6058a05cd
Author: Ayush Saxena <ayushsaxena@apache.org>
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 f783131..0ab7d5b 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 4de50c2..090a85e 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 5d5afb9..d07bac3 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 a6d26fc..0cedd8e 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: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org
|