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 a1b3d7b  [SPARK-52480] Remove `scalaVersion` from Spark 4+ examples
a1b3d7b is described below

commit a1b3d7b70797af0e4083b30faedd5123489a885c
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sat Jun 14 16:18:39 2025 -0700

    [SPARK-52480] Remove `scalaVersion` from Spark 4+ examples
    
    ### What changes were proposed in this pull request?
    
    This PR aims to remove `scalaVersion` from Spark 4+ examples.
    
    ### Why are the changes needed?
    
    Since Apache Spark 4.0.0, we only provide a single Scala version which is 
2.13.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No behavior change because these are examples.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #248 from dongjoon-hyun/SPARK-52480.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 examples/pi-java21.yaml                    | 1 -
 examples/pi-on-yunikorn.yaml               | 1 -
 examples/pi-scala.yaml                     | 1 -
 examples/pi-v1alpha1.yaml                  | 1 -
 examples/pi-with-driver-timeout.yaml       | 1 -
 examples/pi-with-spark-connect-plugin.yaml | 1 -
 examples/pi.yaml                           | 1 -
 examples/spark-connect-server.yaml         | 1 -
 8 files changed, 8 deletions(-)

diff --git a/examples/pi-java21.yaml b/examples/pi-java21.yaml
index c463f53..2a8d722 100644
--- a/examples/pi-java21.yaml
+++ b/examples/pi-java21.yaml
@@ -28,5 +28,4 @@ spec:
   applicationTolerations:
     resourceRetainPolicy: OnFailure
   runtimeVersions:
-    scalaVersion: "2.13"
     sparkVersion: "4.0.0"
diff --git a/examples/pi-on-yunikorn.yaml b/examples/pi-on-yunikorn.yaml
index 73bbc71..971bb18 100644
--- a/examples/pi-on-yunikorn.yaml
+++ b/examples/pi-on-yunikorn.yaml
@@ -34,5 +34,4 @@ spec:
   applicationTolerations:
     resourceRetainPolicy: OnFailure
   runtimeVersions:
-    scalaVersion: "2.13"
     sparkVersion: "4.0.0"
diff --git a/examples/pi-scala.yaml b/examples/pi-scala.yaml
index 9867282..791aa70 100644
--- a/examples/pi-scala.yaml
+++ b/examples/pi-scala.yaml
@@ -28,5 +28,4 @@ spec:
   applicationTolerations:
     resourceRetainPolicy: OnFailure
   runtimeVersions:
-    scalaVersion: "2.13"
     sparkVersion: "4.0.0"
diff --git a/examples/pi-v1alpha1.yaml b/examples/pi-v1alpha1.yaml
index 065225d..d97fb6c 100644
--- a/examples/pi-v1alpha1.yaml
+++ b/examples/pi-v1alpha1.yaml
@@ -28,5 +28,4 @@ spec:
   applicationTolerations:
     resourceRetainPolicy: OnFailure
   runtimeVersions:
-    scalaVersion: "2.13"
     sparkVersion: "4.0.0"
diff --git a/examples/pi-with-driver-timeout.yaml 
b/examples/pi-with-driver-timeout.yaml
index 45095dc..ba27889 100644
--- a/examples/pi-with-driver-timeout.yaml
+++ b/examples/pi-with-driver-timeout.yaml
@@ -31,5 +31,4 @@ spec:
   applicationTolerations:
     resourceRetainPolicy: OnFailure
   runtimeVersions:
-    scalaVersion: "2.13"
     sparkVersion: "4.0.0"
diff --git a/examples/pi-with-spark-connect-plugin.yaml 
b/examples/pi-with-spark-connect-plugin.yaml
index ca8d83b..f908c53 100644
--- a/examples/pi-with-spark-connect-plugin.yaml
+++ b/examples/pi-with-spark-connect-plugin.yaml
@@ -30,5 +30,4 @@ spec:
   applicationTolerations:
     resourceRetainPolicy: OnFailure
   runtimeVersions:
-    scalaVersion: "2.13"
     sparkVersion: "4.0.0"
diff --git a/examples/pi.yaml b/examples/pi.yaml
index ce05df6..eb8ee78 100644
--- a/examples/pi.yaml
+++ b/examples/pi.yaml
@@ -28,5 +28,4 @@ spec:
   applicationTolerations:
     resourceRetainPolicy: OnFailure
   runtimeVersions:
-    scalaVersion: "2.13"
     sparkVersion: "4.0.0"
diff --git a/examples/spark-connect-server.yaml 
b/examples/spark-connect-server.yaml
index c11dfd7..1228fcc 100644
--- a/examples/spark-connect-server.yaml
+++ b/examples/spark-connect-server.yaml
@@ -28,5 +28,4 @@ spec:
   applicationTolerations:
     resourceRetainPolicy: OnFailure
   runtimeVersions:
-    scalaVersion: "2.13"
     sparkVersion: "4.0.0"


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

Reply via email to