Skip to content

Commit 8a80d59

Browse files
committed
YARN-11794. hadoop-yarn-csi does not build on included Centos 7 docker image
also fix Centos 7 docker image build
1 parent c7d631e commit 8a80d59

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dev-support/docker/pkg-resolver/install-yasm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fi
4040

4141
if [ "$version_to_install" == "1.2.0-4" ]; then
4242
mkdir -p /tmp/yasm &&
43-
curl -L -s -S https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/y/yasm-1.2.0-4.el7.x86_64.rpm \
43+
curl -L -s -S https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/y/yasm-1.2.0-4.el7.x86_64.rpm \
4444
-o /tmp/yasm-1.2.0-4.el7.x86_64.rpm &&
4545
rpm -Uvh /tmp/yasm-1.2.0-4.el7.x86_64.rpm
4646
else

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727

2828
<properties>
2929
<grpc.version>1.69.0</grpc.version>
30+
<!-- Last version that works with Centos 7 -->
31+
<grpc.plugin.version>1.65.0</grpc.plugin.version>
3032
<animal-sniffer.version>1.24</animal-sniffer.version>
3133
</properties>
3234

@@ -209,7 +211,7 @@
209211
<configuration>
210212
<protocArtifact>com.google.protobuf:protoc:${hadoop.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
211213
<pluginId>grpc-java</pluginId>
212-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
214+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.plugin.version}:exe:${os.detected.classifier}</pluginArtifact>
213215
</configuration>
214216
<executions>
215217
<execution>

0 commit comments

Comments
 (0)