Skip to content

Commit 024a343

Browse files
committed
chore: update tests and examples to spark 3.5.2
1 parent ae37c79 commit 024a343

19 files changed

+25
-28
lines changed

docs/modules/spark-k8s/examples/example-history-app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: spark-pi-s3-1
66
spec:
77
sparkImage:
8-
productVersion: 3.5.1
8+
productVersion: 3.5.2
99
pullPolicy: IfNotPresent
1010
mode: cluster
1111
mainClass: org.apache.spark.examples.SparkPi

docs/modules/spark-k8s/examples/example-history-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: spark-history
66
spec:
77
image:
8-
productVersion: 3.5.1
8+
productVersion: 3.5.2
99
logFileDirectory: # <1>
1010
s3:
1111
prefix: eventlogs/ # <2>

docs/modules/spark-k8s/examples/example-sparkapp-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
namespace: default
77
spec:
88
sparkImage:
9-
productVersion: 3.5.1
9+
productVersion: 3.5.2
1010
mode: cluster
1111
mainApplicationFile: s3a://stackable-spark-k8s-jars/jobs/ny-tlc-report-1.1.0.jar # <3>
1212
mainClass: tech.stackable.demo.spark.NYTLCReport

docs/modules/spark-k8s/examples/example-sparkapp-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
image: docker.stackable.tech/stackable/ny-tlc-report:0.2.0 # <1>
99
sparkImage:
10-
productVersion: 3.5.1
10+
productVersion: 3.5.2
1111
mode: cluster
1212
mainApplicationFile: local:///stackable/spark/jobs/ny_tlc_report.py # <2>
1313
args:

docs/modules/spark-k8s/examples/example-sparkapp-pvc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
namespace: default
77
spec:
88
sparkImage:
9-
productVersion: 3.5.1
9+
productVersion: 3.5.2
1010
mode: cluster
1111
mainApplicationFile: s3a://stackable-spark-k8s-jars/jobs/ny-tlc-report-1.0-SNAPSHOT.jar # <1>
1212
mainClass: org.example.App # <2>

docs/modules/spark-k8s/examples/example-sparkapp-s3-private.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: example-sparkapp-s3-private
66
spec:
77
sparkImage:
8-
productVersion: 3.5.1
8+
productVersion: 3.5.2
99
mode: cluster
1010
mainApplicationFile: s3a://my-bucket/spark-examples.jar # <1>
1111
mainClass: org.apache.spark.examples.SparkPi # <2>

docs/modules/spark-k8s/examples/example-sparkapp-streaming.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
namespace: default
77
spec:
88
sparkImage:
9-
productVersion: 3.5.1
9+
productVersion: 3.5.2
1010
mode: cluster
1111
mainApplicationFile: local:///stackable/spark/examples/src/main/python/streaming/hdfs_wordcount.py
1212
args:

docs/modules/spark-k8s/examples/getting_started/getting_started.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ metadata:
7373
namespace: default
7474
spec:
7575
sparkImage:
76-
productVersion: 3.5.1
76+
productVersion: 3.5.2
7777
mode: cluster
7878
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
7979
driver:

docs/modules/spark-k8s/examples/getting_started/getting_started.sh.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ metadata:
7373
namespace: default
7474
spec:
7575
sparkImage:
76-
productVersion: 3.5.1
76+
productVersion: 3.5.2
7777
mode: cluster
7878
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
7979
driver:

docs/modules/spark-k8s/pages/usage-guide/job-dependencies.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Below is an example of a custom image that includes a JDBC driver:
5757

5858
[source, Dockerfile]
5959
----
60-
FROM docker.stackable.tech/stackable/spark-k8s:3.5.1-stackable24.3.0 # <1>
60+
FROM docker.stackable.tech/stackable/spark-k8s:3.5.2-stackable24.11.0 # <1>
6161
6262
RUN curl --fail -o /stackable/spark/jars/postgresql-42.6.0.jar "https://jdbc.postgresql.org/download/postgresql-42.6.0.jar"
6363
----
@@ -74,8 +74,8 @@ metadata:
7474
name: spark-jdbc
7575
spec:
7676
sparkImage:
77-
custom: "docker.stackable.tech/sandbox/spark-k8s:3.5.1-stackable0.0.0-dev" # <1>
78-
productVersion: "3.5.1" # <2>
77+
custom: "docker.stackable.tech/sandbox/spark-k8s:3.5.2-stackable0.0.0-dev" # <1>
78+
productVersion: "3.5.2" # <2>
7979
pullPolicy: IfNotPresent # <3>
8080
...
8181
----
@@ -160,9 +160,8 @@ spec:
160160
deps:
161161
requirements:
162162
- tabulate==0.8.9 # <2>
163-
...
163+
...
164164
----
165165

166166
<1> The main application file. In this example it is assumed that the file is part of a custom image.
167167
<2> A Python package that is used by the application and installed when the application is submitted.
168-

0 commit comments

Comments
 (0)