wolfboys commented on code in PR #4417:
URL: https://github.com/apache/streampark/pull/4417#discussion_r3566476755


##########
streampark-e2e/streampark-e2e-case/src/test/resources/docker/flink-1.16-on-yarn/Dockerfile:
##########
@@ -28,7 +28,22 @@ RUN sudo chown -R hadoop.hadoop /streampark \
 COPY --from=flink-image /opt/flink /flink-1.16.3
 RUN sudo chown -R hadoop.hadoop /flink-1.16.3
 
-# StreamPark 3.0 Console requires JDK 11+
+# Bundled JDK 11 for StreamPark Console only (set via compose on streampark 
service).
+# Hadoop services keep the CentOS OpenJDK 8 installed below.
 COPY --from=base-image /usr/lib/jvm/jdk11 /usr/lib/jvm/jdk11
-ENV JAVA_HOME=/usr/lib/jvm/jdk11
-ENV PATH="${JAVA_HOME}/bin:${PATH}"
+
+# Install javac for Hadoop / Flink job tooling on CentOS 7
+ARG TARGETPLATFORM
+RUN echo "TARGETPLATFORM: $TARGETPLATFORM"
+RUN \
+    if [ "$TARGETPLATFORM" = "linux/arm64" ];then \
+        sudo rm -f /etc/yum.repos.d/*.repo; \
+        sudo wget http://mirrors.aliyun.com/repo/Centos-altarch-7.repo -O 
/etc/yum.repos.d/CentOS-Base.repo; \

Review Comment:
   ```
   wget http://mirrors.aliyun.com/repo/Centos-altarch-7.repo -O 
/etc/yum.repos.d/CentOS-Base.repo 
   ```
   
   The URL is inaccessible. Please provide the public CentOS repository 
addresses here,  not [aliyun](http://mirrors.aliyun.com)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to