Skip to content

Upgrade to Spark 3.5.2 #2154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
# limitations under the License.
#

ARG SPARK_IMAGE=spark:3.5.0
ARG SPARK_IMAGE=spark:3.5.2

FROM golang:1.22.5 AS builder

10 changes: 5 additions & 5 deletions config/samples/v1beta1_sparkapplication.yaml
Original file line number Diff line number Diff line change
@@ -8,16 +8,16 @@ metadata:
spec:
type: Scala
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar
sparkVersion: 3.5.0
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.2.jar
sparkVersion: 3.5.2
driver:
labels:
version: 3.5.0
version: 3.5.2
serviceAccount: spark-operator-spark
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 1
10 changes: 5 additions & 5 deletions config/samples/v1beta2_scheduledsparkapplication.yaml
Original file line number Diff line number Diff line change
@@ -11,23 +11,23 @@ spec:
template:
type: Scala
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar
sparkVersion: 3.5.0
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.2.jar
sparkVersion: 3.5.2
restartPolicy:
type: Never
driver:
labels:
version: 3.5.0
version: 3.5.2
cores: 1
coreLimit: 1200m
memory: 512m
serviceAccount: spark-operator-spark
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 1
cores: 1
coreLimit: 1200m
10 changes: 5 additions & 5 deletions config/samples/v1beta2_sparkapplication.yaml
Original file line number Diff line number Diff line change
@@ -8,16 +8,16 @@ metadata:
spec:
type: Scala
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar
sparkVersion: 3.5.0
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.2.jar
sparkVersion: 3.5.2
driver:
labels:
version: 3.5.0
version: 3.5.2
serviceAccount: spark-operator-spark
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 1
10 changes: 5 additions & 5 deletions examples/spark-pi-configmap.yaml
Original file line number Diff line number Diff line change
@@ -21,11 +21,11 @@ metadata:
spec:
type: Scala
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar
sparkVersion: 3.5.0
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.2.jar
sparkVersion: 3.5.2
restartPolicy:
type: Never
volumes:
@@ -34,7 +34,7 @@ spec:
name: test-configmap
driver:
labels:
version: 3.5.0
version: 3.5.2
cores: 1
coreLimit: 1200m
memory: 512m
@@ -44,7 +44,7 @@ spec:
mountPath: /opt/spark/config
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 1
cores: 1
memory: 512m
10 changes: 5 additions & 5 deletions examples/spark-pi-custom-resource.yaml
Original file line number Diff line number Diff line change
@@ -21,11 +21,11 @@ metadata:
spec:
type: Scala
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar
sparkVersion: 3.5.0
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.2.jar
sparkVersion: 3.5.2
restartPolicy:
type: Never
volumes:
@@ -35,7 +35,7 @@ spec:
type: Directory
driver:
labels:
version: 3.5.0
version: 3.5.2
cores: 1
coreLimit: 1200m
memory: 512m
@@ -45,7 +45,7 @@ spec:
mountPath: /tmp
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 1
cores: 1
memory: 512m
10 changes: 5 additions & 5 deletions examples/spark-pi-dynamic-allocation.yaml
Original file line number Diff line number Diff line change
@@ -21,23 +21,23 @@ metadata:
spec:
type: Scala
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar
sparkVersion: 3.5.0
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.2.jar
sparkVersion: 3.5.2
arguments:
- "50000"
driver:
labels:
version: 3.5.0
version: 3.5.2
cores: 1
coreLimit: 1200m
memory: 512m
serviceAccount: spark-operator-spark
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 1
cores: 1
coreLimit: 1200m
10 changes: 5 additions & 5 deletions examples/spark-pi-kube-scheduler.yaml
Original file line number Diff line number Diff line change
@@ -21,21 +21,21 @@ metadata:
spec:
type: Scala
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar
sparkVersion: 3.5.0
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.2.jar
sparkVersion: 3.5.2
driver:
labels:
version: 3.5.0
version: 3.5.2
cores: 1
coreLimit: 1200m
memory: 512m
serviceAccount: spark-operator-spark
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 2
cores: 1
coreLimit: 1200m
8 changes: 4 additions & 4 deletions examples/spark-pi-python.yaml
Original file line number Diff line number Diff line change
@@ -22,20 +22,20 @@ spec:
type: Python
pythonVersion: "3"
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainApplicationFile: local:///opt/spark/examples/src/main/python/pi.py
sparkVersion: 3.5.0
sparkVersion: 3.5.2
driver:
labels:
version: 3.5.0
version: 3.5.2
cores: 1
coreLimit: 1200m
memory: 512m
serviceAccount: spark-operator-spark
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 1
cores: 1
coreLimit: 1200m
10 changes: 5 additions & 5 deletions examples/spark-pi-scheduled.yaml
Original file line number Diff line number Diff line change
@@ -25,23 +25,23 @@ spec:
template:
type: Scala
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar
sparkVersion: 3.5.0
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.2.jar
sparkVersion: 3.5.2
restartPolicy:
type: Never
driver:
labels:
version: 3.5.0
version: 3.5.2
cores: 1
coreLimit: 1200m
memory: 512m
serviceAccount: spark-operator-spark
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 1
cores: 1
coreLimit: 1200m
10 changes: 5 additions & 5 deletions examples/spark-pi-volcano.yaml
Original file line number Diff line number Diff line change
@@ -21,21 +21,21 @@ metadata:
spec:
type: Scala
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar
sparkVersion: 3.5.0
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.2.jar
sparkVersion: 3.5.2
driver:
labels:
version: 3.5.0
version: 3.5.2
cores: 1
coreLimit: 1200m
memory: 512m
serviceAccount: spark-operator-spark
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 2
cores: 1
coreLimit: 1200m
10 changes: 5 additions & 5 deletions examples/spark-pi-yunikorn.yaml
Original file line number Diff line number Diff line change
@@ -21,21 +21,21 @@ metadata:
spec:
type: Scala
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar
sparkVersion: 3.5.0
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.2.jar
sparkVersion: 3.5.2
driver:
labels:
version: 3.5.0
version: 3.5.2
cores: 1
coreLimit: 1200m
memory: 512m
serviceAccount: spark-operator-spark
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 2
cores: 1
coreLimit: 1200m
10 changes: 5 additions & 5 deletions examples/spark-pi.yaml
Original file line number Diff line number Diff line change
@@ -21,21 +21,21 @@ metadata:
spec:
type: Scala
mode: cluster
image: spark:3.5.0
image: spark:3.5.2
imagePullPolicy: IfNotPresent
mainClass: org.apache.spark.examples.SparkPi
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar
sparkVersion: 3.5.0
mainApplicationFile: local:///opt/spark/examples/jars/spark-examples_2.12-3.5.2.jar
sparkVersion: 3.5.2
driver:
labels:
version: 3.5.0
version: 3.5.2
cores: 1
coreLimit: 1200m
memory: 512m
serviceAccount: spark-operator-spark
executor:
labels:
version: 3.5.0
version: 3.5.2
instances: 1
cores: 1
coreLimit: 1200m