Skip to content

Commit b4ad042

Browse files
committed
[SPARK-53702] Update tests to use 4.0.1 and 3.5.7
### What changes were proposed in this pull request? This PR aims to update `tests` directory to use the latest Spark releases (4.0.1 and 3.5.7). ### Why are the changes needed? To use the latest Spark images during E2E tests and benchmark script. ### Does this PR introduce _any_ user-facing change? No, this is a test-only change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#337 from dongjoon-hyun/SPARK-53702. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 9da3f2c commit b4ad042

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

tests/benchmark/sparkapps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ spec:
4343
spark.kubernetes.driver.request.cores: "100m"
4444
spark.kubernetes.driver.master: "local[1]"
4545
spark.kubernetes.authenticate.driver.serviceAccountName: "spark"
46-
spark.kubernetes.container.image: "apache/spark:4.0.0-java21-scala"
46+
spark.kubernetes.container.image: "apache/spark:4.0.1-java21-scala"
4747
runtimeVersions:
48-
sparkVersion: "4.0.0"
48+
sparkVersion: "4.0.1"
4949
---
5050
EOF
5151
done

tests/e2e/python/chainsaw-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ spec:
2323
scenarios:
2424
- bindings:
2525
- name: "SPARK_VERSION"
26-
value: "3.5.6"
26+
value: "3.5.7"
2727
- name: "SCALA_VERSION"
2828
value: "2.12"
2929
- name: "IMAGE"
30-
value: "apache/spark:3.5.6-scala2.12-java17-python3-ubuntu"
30+
value: "apache/spark:3.5.7-scala2.12-java17-python3-ubuntu"
3131
steps:
3232
- name: install-spark-application
3333
try:

tests/e2e/resource-retain-duration/spark-example-retain-duration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
ttlAfterStopMillis: 30000
3030
sparkConf:
3131
spark.executor.instances: "1"
32-
spark.kubernetes.container.image: "apache/spark:4.0.0-java21-scala"
32+
spark.kubernetes.container.image: "apache/spark:4.0.1-java21-scala"
3333
spark.kubernetes.authenticate.driver.serviceAccountName: "spark"
3434
runtimeVersions:
35-
sparkVersion: 4.0.0
35+
sparkVersion: 4.0.1

tests/e2e/spark-versions/chainsaw-test.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,31 @@ spec:
2323
scenarios:
2424
- bindings:
2525
- name: "SPARK_VERSION"
26-
value: "4.0.0"
26+
value: "4.0.1"
2727
- name: "SCALA_VERSION"
2828
value: "2.13"
2929
- name: "JAVA_VERSION"
3030
value: "17"
3131
- name: "IMAGE"
32-
value: "apache/spark:4.0.0-scala2.13-java17-ubuntu"
32+
value: "apache/spark:4.0.1-scala2.13-java17-ubuntu"
3333
- bindings:
3434
- name: "SPARK_VERSION"
35-
value: "3.5.6"
35+
value: "3.5.7"
3636
- name: "SCALA_VERSION"
3737
value: "2.12"
3838
- name: "JAVA_VERSION"
3939
value: "17"
4040
- name: "IMAGE"
41-
value: 'apache/spark:3.5.6-scala2.12-java17-ubuntu'
41+
value: 'apache/spark:3.5.7-scala2.12-java17-ubuntu'
4242
- bindings:
4343
- name: "SPARK_VERSION"
44-
value: "4.0.0"
44+
value: "4.0.1"
4545
- name: "SCALA_VERSION"
4646
value: "2.13"
4747
- name: "JAVA_VERSION"
4848
value: "21"
4949
- name: "IMAGE"
50-
value: 'apache/spark:4.0.0-java21-scala'
50+
value: 'apache/spark:4.0.1-java21-scala'
5151
steps:
5252
- name: install-spark-application
5353
try:

tests/e2e/state-transition/spark-cluster-example-succeeded.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ metadata:
1919
namespace: default
2020
spec:
2121
runtimeVersions:
22-
sparkVersion: "4.0.0"
22+
sparkVersion: "4.0.1"
2323
clusterTolerations:
2424
instanceConfig:
2525
initWorkers: 1
2626
minWorkers: 1
2727
maxWorkers: 1
2828
sparkConf:
29-
spark.kubernetes.container.image: "apache/spark:4.0.0"
29+
spark.kubernetes.container.image: "apache/spark:4.0.1"
3030
spark.master.ui.title: "Spark Cluster E2E Test"
3131
spark.master.rest.enabled: "true"
3232
spark.master.rest.host: "0.0.0.0"

tests/e2e/state-transition/spark-example-succeeded.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ spec:
2525
jars: "local:///opt/spark/examples/jars/spark-examples.jar"
2626
sparkConf:
2727
spark.executor.instances: "1"
28-
spark.kubernetes.container.image: "apache/spark:4.0.0-scala2.13-java17-ubuntu"
28+
spark.kubernetes.container.image: "apache/spark:4.0.1-scala2.13-java17-ubuntu"
2929
spark.kubernetes.authenticate.driver.serviceAccountName: "spark"
3030
runtimeVersions:
31-
sparkVersion: 4.0.0
31+
sparkVersion: 4.0.1
3232
scalaVersion: "2.13"

tests/e2e/watched-namespaces/spark-example.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ spec:
2525
jars: "local:///opt/spark/examples/jars/spark-examples.jar"
2626
sparkConf:
2727
spark.executor.instances: "1"
28-
spark.kubernetes.container.image: "apache/spark:4.0.0-scala2.13-java17-ubuntu"
28+
spark.kubernetes.container.image: "apache/spark:4.0.1-scala2.13-java17-ubuntu"
2929
spark.kubernetes.authenticate.driver.serviceAccountName: "spark"
3030
spark.kubernetes.driver.request.cores: "0.5"
3131
spark.kubernetes.executor.request.cores: "0.5"
3232
runtimeVersions:
33-
sparkVersion: 4.0.0
33+
sparkVersion: 4.0.1
3434
scalaVersion: "2.13"

0 commit comments

Comments
 (0)