YARN-10265. Upgrade Netty-all dependency to latest version 4.1.50 to fix ARM support issue. Contributed by liusheng

This commit is contained in:
Surendra Singh Lilhore 2020-05-14 15:09:34 +05:30
parent 74887ab2ad
commit 7cef7109de
4 changed files with 5 additions and 21 deletions

View File

@ -64,7 +64,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${netty4.group}</groupId> <groupId>io.netty</groupId>
<artifactId>netty-all</artifactId> <artifactId>netty-all</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>

View File

@ -176,7 +176,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${netty4.group}</groupId> <groupId>io.netty</groupId>
<artifactId>netty-all</artifactId> <artifactId>netty-all</artifactId>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>

View File

@ -140,8 +140,7 @@
<htrace4.version>4.1.0-incubating</htrace4.version> <htrace4.version>4.1.0-incubating</htrace4.version>
<metrics.version>3.2.4</metrics.version> <metrics.version>3.2.4</metrics.version>
<netty3.version>3.10.6.Final</netty3.version> <netty3.version>3.10.6.Final</netty3.version>
<netty4.version>4.1.48.Final</netty4.version> <netty4.version>4.1.50.Final</netty4.version>
<netty4.group>io.netty</netty4.group>
<!-- Maven protoc compiler --> <!-- Maven protoc compiler -->
<protobuf-maven-plugin.version>0.5.1</protobuf-maven-plugin.version> <protobuf-maven-plugin.version>0.5.1</protobuf-maven-plugin.version>
@ -893,7 +892,7 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>${netty4.group}</groupId> <groupId>io.netty</groupId>
<artifactId>netty-all</artifactId> <artifactId>netty-all</artifactId>
<version>${netty4.version}</version> <version>${netty4.version}</version>
</dependency> </dependency>
@ -2216,21 +2215,6 @@
</plugins> </plugins>
</build> </build>
</profile> </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> <profile>
<id>test-patch</id> <id>test-patch</id>
<activation> <activation>

View File

@ -44,7 +44,7 @@
<version>${protobuf.version}</version> <version>${protobuf.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${netty4.group}</groupId> <groupId>io.netty</groupId>
<artifactId>netty-all</artifactId> <artifactId>netty-all</artifactId>
</dependency> </dependency>
<dependency> <dependency>