File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
6464 <scope >test</scope >
6565 </dependency >
6666 <dependency >
67- <groupId >io.netty </groupId >
67+ <groupId >${netty4.group} </groupId >
6868 <artifactId >netty-all</artifactId >
6969 <scope >test</scope >
7070 </dependency >
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
176176 <scope >compile</scope >
177177 </dependency >
178178 <dependency >
179- <groupId >io.netty </groupId >
179+ <groupId >${netty4.group} </groupId >
180180 <artifactId >netty-all</artifactId >
181181 <scope >compile</scope >
182182 </dependency >
Original file line number Diff line number Diff line change 141141 <metrics .version>3.2.4</metrics .version>
142142 <netty3 .version>3.10.6.Final</netty3 .version>
143143 <netty4 .version>4.1.48.Final</netty4 .version>
144+ <netty4 .group>io.netty</netty4 .group>
144145
145146 <!-- Maven protoc compiler -->
146147 <protobuf-maven-plugin .version>0.5.1</protobuf-maven-plugin .version>
892893 </dependency >
893894
894895 <dependency >
895- <groupId >io.netty </groupId >
896+ <groupId >${netty4.group} </groupId >
896897 <artifactId >netty-all</artifactId >
897898 <version >${netty4.version} </version >
898899 </dependency >
22152216 </plugins >
22162217 </build >
22172218 </profile >
2219+ <profile >
2220+ <id >aarch64</id >
2221+ <properties >
2222+ <!-- To make hadoop fully support ARM64 now, here add a workaround using an unofficial
2223+ netty-all package which support ARM64. Once the Netty officially support ARM64 in a
2224+ new release, we need to remove this and upgrade to use Netty official package -->
2225+ <netty4 .group>org.openlabtesting.netty</netty4 .group>
2226+ </properties >
2227+ <activation >
2228+ <os >
2229+ <family >linux</family >
2230+ <arch >aarch64</arch >
2231+ </os >
2232+ </activation >
2233+ </profile >
22182234 <profile >
22192235 <id >test-patch</id >
22202236 <activation >
Original file line number Diff line number Diff line change 4444 <version >${protobuf.version} </version >
4545 </dependency >
4646 <dependency >
47- <groupId >io.netty </groupId >
47+ <groupId >${netty4.group} </groupId >
4848 <artifactId >netty-all</artifactId >
4949 </dependency >
5050 <dependency >
You can’t perform that action at this time.
0 commit comments