dongjoon-hyun opened a new pull request, #968:
URL: https://github.com/apache/spark-kubernetes-operator/pull/968

   ### What changes were proposed in this pull request?
   
   This PR aims to use `Eclipse Temurin` instead of `Azul Zulu` as the JDK 
distribution in GitHub Action CIs and the `jlink` stage of the operator Docker 
image.
   
   - `.github/workflows/build_and_test.yml`: `distribution: 'zulu'` -> 
`'temurin'` (`build-test` matrix and `lint` jobs)
   - `.github/workflows/publish_snapshot_chart.yml`: `distribution: 'zulu'` -> 
`'temurin'`
   - `build-tools/docker/Dockerfile`: `azul/zulu-openjdk-alpine:26` -> 
`eclipse-temurin:26-jdk-alpine`
   
   ### Why are the changes needed?
   
   To use a single JDK vendor consistently across the build:
   
   - The Gradle Java 27 toolchain already provisions `Temurin` via 
`foojay-resolver-convention` after #965 (SPARK-59809).
   - The builder stage image, `gradle:9.8.1-jdk27-resolute`, is based on 
`eclipse-temurin:27-jdk-resolute`.
   - `Temurin` provides all JDKs of the CI matrix (21, 25, 26, 27) for both 
`x64` and `aarch64`, including the Alpine (`musl`) builds.
   - The official `eclipse-temurin` Docker image provides Alpine-version-pinned 
tags such as `26-jdk-alpine-3.24` and `27-jdk-alpine`, while 
`azul/zulu-openjdk-alpine` has no `27` tag yet.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. The custom JRE in the operator image is built from `Temurin` instead of 
`Zulu`, while the Java version (26) and the generated bytecode (Java 21) are 
unchanged. There is no behavior change.
   
   ### How was this patch tested?
   
   Pass the CIs. Also, manually built the image and checked the runtime.
   
   ```
   $ docker run --rm spark-operator:temurin-review java -version
   openjdk version "26.0.2.1" 2026-08-18
   OpenJDK Runtime Environment Temurin-26.0.2.1+1 (build 26.0.2.1+1)
   OpenJDK 64-Bit Server VM Temurin-26.0.2.1+1 (build 26.0.2.1+1, mixed mode)
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5.5


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to