This is an automated email from the ASF dual-hosted git repository.

dongjoon-hyun pushed a commit to branch branch-4.x
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.x by this push:
     new 4f4a4365557e [SPARK-56834][K8S] Use Java `25-jre` instead of `21-jre` 
image in K8s Dockerfile
4f4a4365557e is described below

commit 4f4a4365557e3da3912241f568ddec9f0e51cd48
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue May 12 11:21:43 2026 -0700

    [SPARK-56834][K8S] Use Java `25-jre` instead of `21-jre` image in K8s 
Dockerfile
    
    ### What changes were proposed in this pull request?
    
    This PR aims to use Java 25 image in the Spark K8s Dockerfile.
    
    ### Why are the changes needed?
    
    As a part of [SPARK-51167 Build and Run Spark on Java 
25](https://issues.apache.org/jira/browse/SPARK-51167), this PR uses the latest 
LTS Java release as the default JVM docker base image in Apache Spark 4.2.0.
    - apache/spark#55798
    - apache/spark#55827
    
    ### Does this PR introduce _any_ user-facing change?
    
    - Yes because the default Java version is changed.
    - However, a user still change this back via `-b java_image_tag=17` and the 
Apache Spark 4.2.0 provides the same capability for Java 17/21/25.
    
    ### How was this patch tested?
    
    Manual review.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Code (Opus 4.7)
    
    Closes #55829 from dongjoon-hyun/SPARK-56834.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 7a01891b31ea95ca4d4266947099d11cd7f5ddf5)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .../kubernetes/docker/src/main/dockerfiles/spark/Dockerfile             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile 
b/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
index 84cba5568d27..4af2359237d3 100644
--- a/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
+++ b/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
@@ -15,7 +15,7 @@
 # limitations under the License.
 #
 ARG java_image_name=azul/zulu-openjdk
-ARG java_image_tag=21-jre
+ARG java_image_tag=25-jre
 
 FROM ${java_image_name}:${java_image_tag}
 LABEL org.opencontainers.image.authors="Apache Spark project 
<[email protected]>"


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

Reply via email to