Skip to content

Commit e7870b7

Browse files
authored
feat: Support Spark 3.5.1 (#373)
* feat: Support Spark 3.5.1 * changelog * changelog * changelog
1 parent bffc78d commit e7870b7

26 files changed

+26
-22
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
77
### Added
88

99
- Helm: support labels in values.yaml ([#344]).
10+
- Support version `3.5.1` ([#373]).
1011
- Support version `3.4.2` ([#357]).
1112
- `spec.job.config.volumeMounts` property to easily mount volumes on the job pod ([#359])
1213

@@ -31,6 +32,7 @@ All notable changes to this project will be documented in this file.
3132
[#355]: https://github.com/stackabletech/spark-k8s-operator/pull/355
3233
[#357]: https://github.com/stackabletech/spark-k8s-operator/pull/357
3334
[#359]: https://github.com/stackabletech/spark-k8s-operator/pull/359
35+
[#373]: https://github.com/stackabletech/spark-k8s-operator/pull/373
3436

3537
## [23.11.0] - 2023-11-24
3638

docs/modules/spark-k8s/examples/example-encapsulated.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: spark-pi
66
spec:
77
sparkImage:
8-
productVersion: 3.5.0 # <1>
8+
productVersion: 3.5.1 # <1>
99
mode: cluster
1010
mainClass: org.apache.spark.examples.SparkPi
1111
mainApplicationFile: /stackable/spark/examples/jars/spark-examples.jar # <2>

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.0
8+
productVersion: 3.5.1
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.0
8+
productVersion: 3.5.1
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.0
9+
productVersion: 3.5.1
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-external-dependencies.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.0
9+
productVersion: 3.5.1
1010
mode: cluster
1111
mainApplicationFile: s3a://stackable-spark-k8s-jars/jobs/ny_tlc_report.py # <1>
1212
args:

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.1.0 # <1>
99
sparkImage:
10-
productVersion: 3.5.0
10+
productVersion: 3.5.1
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.0
9+
productVersion: 3.5.1
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.0
8+
productVersion: 3.5.1
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.0
9+
productVersion: 3.5.1
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
@@ -60,7 +60,7 @@ metadata:
6060
namespace: default
6161
spec:
6262
sparkImage:
63-
productVersion: 3.5.0
63+
productVersion: 3.5.1
6464
mode: cluster
6565
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
6666
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
@@ -60,7 +60,7 @@ metadata:
6060
namespace: default
6161
spec:
6262
sparkImage:
63-
productVersion: 3.5.0
63+
productVersion: 3.5.1
6464
mode: cluster
6565
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
6666
driver:

docs/modules/spark-k8s/partials/supported-versions.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// Stackable Platform documentation.
44
// Please sort the versions in descending order (newest first)
55

6-
- 3.5.0 (Hadoop 3.3.4, Scala 2.12, Python 3.11, Java 11)
6+
- 3.5.1 (Hadoop 3.3.4, Scala 2.12, Python 3.11, Java 11)
7+
- 3.5.0 (Hadoop 3.3.4, Scala 2.12, Python 3.11, Java 11) (deprecated)
78
- 3.4.2 (Hadoop 3.3.4, Scala 2.12, Python 3.11, Java 11) (LTS)
89
- 3.4.1 (Hadoop 3.3.4, Scala 2.12, Python 3.11, Java 11) (deprecated)

examples/README-examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ Several resources are needed in this store. These can be loaded like this:
5050

5151
````text
5252
kubectl exec minio-mc-0 -- sh -c 'mc alias set test-minio http://test-minio:9000/'
53-
kubectl cp examples/ny-tlc-report-1.1.0-3.5.0.jar minio-mc-0:/tmp
53+
kubectl cp examples/ny-tlc-report-1.1.0-3.5.1.jar minio-mc-0:/tmp
5454
kubectl cp apps/ny_tlc_report.py minio-mc-0:/tmp
5555
kubectl cp examples/yellow_tripdata_2021-07.csv minio-mc-0:/tmp
56-
kubectl exec minio-mc-0 -- mc cp /tmp/ny-tlc-report-1.1.0-3.5.0.jar test-minio/my-bucket
56+
kubectl exec minio-mc-0 -- mc cp /tmp/ny-tlc-report-1.1.0-3.5.1.jar test-minio/my-bucket
5757
kubectl exec minio-mc-0 -- mc cp /tmp/ny_tlc_report.py test-minio/my-bucket
5858
kubectl exec minio-mc-0 -- mc cp /tmp/yellow_tripdata_2021-07.csv test-minio/my-bucket
5959
````

examples/ny-tlc-report-external-dependencies.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.0
9+
productVersion: 3.5.1
1010
pullPolicy: IfNotPresent
1111
mode: cluster
1212
mainApplicationFile: s3a://my-bucket/ny_tlc_report.py

examples/ny-tlc-report-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
# everything under /jobs will be copied to /stackable/spark/jobs
99
image: docker.stackable.tech/stackable/ny-tlc-report:0.1.0
10-
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.5.0-stackable0.0.0-dev
10+
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.5.1-stackable0.0.0-dev
1111
sparkImagePullPolicy: IfNotPresent
1212
mode: cluster
1313
mainApplicationFile: local:///stackable/spark/jobs/ny_tlc_report.py

examples/ny-tlc-report.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ metadata:
1313
name: spark-ny-cm
1414
spec:
1515
sparkImage:
16-
productVersion: 3.5.0
16+
productVersion: 3.5.1
1717
mode: cluster
18-
mainApplicationFile: s3a://my-bucket/ny-tlc-report-1.1.0-3.5.0.jar
18+
mainApplicationFile: s3a://my-bucket/ny-tlc-report-1.1.0-3.5.1.jar
1919
mainClass: tech.stackable.demo.spark.NYTLCReport
2020
volumes:
2121
- name: cm-job-arguments

rust/crd/src/affinity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ mod test {
4747
name: spark-history
4848
spec:
4949
image:
50-
productVersion: 3.5.0
50+
productVersion: 3.5.1
5151
logFileDirectory:
5252
s3:
5353
prefix: eventlogs/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

tests/test-definition.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ dimensions:
88
- 3.4.1
99
- 3.4.2
1010
- 3.5.0
11+
- 3.5.1
1112
# Alternatively, if you want to use a custom image, append a comma and the full image name to the product version
1213
# as in the example below.
13-
# - 3.5.0,docker.stackable.tech/sandbox/spark-k8s:3.5.0-stackable0.0.0-dev
14+
# - 3.5.1,docker.stackable.tech/sandbox/spark-k8s:3.5.1-stackable0.0.0-dev
1415
- name: spark-delta-lake
1516
values:
16-
- 3.5.0
17-
# - 3.5.0,docker.stackable.tech/sandbox/spark-k8s:3.5.0-stackable0.0.0-dev
17+
- 3.5.1
18+
# - 3.5.1,docker.stackable.tech/sandbox/spark-k8s:3.5.1-stackable0.0.0-dev
1819
- name: ny-tlc-report
1920
values:
2021
- 0.1.0

0 commit comments

Comments
 (0)