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

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new aa5651d  [SPARK-53510] Update `SparkClusterResourceSpec` to use 
`apache/spark:4.0.1` as the default value of container image
aa5651d is described below

commit aa5651dfc109f7c8c19a5e108c264e7b378cdf3c
Author: Dongjoon Hyun <dongj...@apache.org>
AuthorDate: Sat Sep 6 20:37:49 2025 -0700

    [SPARK-53510] Update `SparkClusterResourceSpec` to use `apache/spark:4.0.1` 
as the default value of container image
    
    ### What changes were proposed in this pull request?
    
    This PR aims to update `SparkClusterResourceSpec` to use 
`apache/spark:4.0.1` as the default value of container image.
    
    ### Why are the changes needed?
    
    Since Apache Spark 4.0.1 image is published, we had better use this bug 
fixed version.
    
    ### Does this PR introduce _any_ user-facing change?
    
    Yes if the user didn't specify the container image for Spark Cluster, but 
this is an expected change in that case.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #311 from dongjoon-hyun/SPARK-53510.
    
    Authored-by: Dongjoon Hyun <dongj...@apache.org>
    Signed-off-by: Dongjoon Hyun <dongj...@apache.org>
---
 .../java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java
 
b/spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java
index 834739c..69337d0 100644
--- 
a/spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java
+++ 
b/spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkClusterResourceSpec.java
@@ -59,7 +59,7 @@ public class SparkClusterResourceSpec {
     String clusterName = cluster.getMetadata().getName();
     String scheduler = conf.get(Config.KUBERNETES_SCHEDULER_NAME().key(), 
"default-scheduler");
     String namespace = conf.get(Config.KUBERNETES_NAMESPACE().key(), 
clusterNamespace);
-    String image = conf.get(Config.CONTAINER_IMAGE().key(), 
"apache/spark:4.0.0");
+    String image = conf.get(Config.CONTAINER_IMAGE().key(), 
"apache/spark:4.0.1");
     ClusterSpec spec = cluster.getSpec();
     String version = spec.getRuntimeVersions().getSparkVersion();
     StringBuilder options = new StringBuilder();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to