[SPARK-57546][K8S] Use eclipse-temurin to use Ubuntu 26.04 and Python 3.14 by default#56607
Closed
dongjoon-hyun wants to merge 1 commit into
Closed
[SPARK-57546][K8S] Use eclipse-temurin to use Ubuntu 26.04 and Python 3.14 by default#56607dongjoon-hyun wants to merge 1 commit into
eclipse-temurin to use Ubuntu 26.04 and Python 3.14 by default#56607dongjoon-hyun wants to merge 1 commit into
Conversation
… `Python 3.14` by default
Member
Author
|
cc @sarutak , @yaooqinn , @LuciferYang |
sarutak
approved these changes
Jun 19, 2026
HyukjinKwon
approved these changes
Jun 19, 2026
LuciferYang
approved these changes
Jun 19, 2026
Member
Author
|
Thank you, @sarutak , @HyukjinKwon , @LuciferYang ! |
dongjoon-hyun
added a commit
that referenced
this pull request
Jun 19, 2026
…ython 3.14` by default Like `Apache Spark Docker` repository, this PR aims to use `eclipse-temurin` to use `Ubuntu 26.04` and `Python 3.14` by default for Apache Spark 4.3.0. https://github.com/apache/spark-docker/blob/75f9e755807c67794776276d8f5e3e2ceedfa82b/4.1.2/scala2.13-java17-ubuntu/Dockerfile#L17 Apache Spark 4.3.0 dropped Python 3.10. - #55914 However, `azul/zulu-openjdk` only supports `Ubuntu 22.04` which doesn't support Python 3.11 officially. It only have `Python 3.11.0rc1`. ``` $ docker run -it --rm azul/zulu-openjdk:25 bash root3c66cb6be8be:/# cat /etc/os-release | grep VERSION_ID VERSION_ID="22.04" root3c66cb6be8be:/# apt-get update root3c66cb6be8be:/# apt-get install -y python3.11 root3c66cb6be8be:/# python3.11 --version Python 3.11.0rc1 ``` Note that previously we support this new combination by the following. ``` $ bin/docker-image-tool.sh -b java_image_name=eclipse-temurin build ``` A user can switch back manually in the same way. ``` $ bin/docker-image-tool.sh -b java_image_name=azul/zulu-openjdk build ``` Although Apache Spark behavior is not changed because it's orthogonal to the underlying JDK, OS and Python versions, yes, the underlying OS becomes `Ubuntu 26.04` and Python becomes `3.14` and Java vendor becomes `Eclipse Temurin`. This is inevitable due to the lack of Python 3.11 support of `Zulu JDK`. **AFTER** ``` $ docker run -it --rm eclipse-temurin:25-jre bash rootde506cc01b8a:/# cat /etc/os-release | grep VERSION_ID VERSION_ID="26.04" rootde506cc01b8a:/# apt-get update rootde506cc01b8a:/# apt-get install -y python3 rootde506cc01b8a:/# python3 --version Python 3.14.4 ``` Pass the CIs. Generated-by: Claude Code Closes #56607 from dongjoon-hyun/SPARK-57546. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 880083f) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Member
Author
|
Merged to master/4.x. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Like
Apache Spark Dockerrepository, this PR aims to useeclipse-temurinto useUbuntu 26.04andPython 3.14by default for Apache Spark 4.3.0.https://github.com/apache/spark-docker/blob/75f9e755807c67794776276d8f5e3e2ceedfa82b/4.1.2/scala2.13-java17-ubuntu/Dockerfile#L17
Why are the changes needed?
Apache Spark 4.3.0 dropped Python 3.10.
However,
azul/zulu-openjdkonly supportsUbuntu 22.04which doesn't support Python 3.11 officially. It only havePython 3.11.0rc1.Does this PR introduce any user-facing change?
Note that previously we support this new combination by the following.
A user can switch back manually in the same way.
Although Apache Spark behavior is not changed because it's orthogonal to the underlying JDK, OS and Python versions, yes, the underlying OS becomes
Ubuntu 26.04and Python becomes3.14and Java vendor becomesEclipse Temurin. This is inevitable due to the lack of Python 3.11 support ofZulu JDK.AFTER
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code