Skip to content

Commit f4441de

Browse files
committed
Add support for Spark 3.4.0 (#243)
# Description For #242
1 parent e23dae7 commit f4441de

40 files changed

+48
-69
lines changed

CHANGELOG.md

Lines changed: 6 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
- Generate OLM bundle for Release 23.4.0 ([#238]).
10+
- Add support for Spark 3.4.0 ([#243]).
1011

1112
### Changed
1213

@@ -15,10 +16,15 @@ All notable changes to this project will be documented in this file.
1516
- Use testing-tools 0.2.0 ([#236])
1617
- Run as root group ([#241]).
1718

19+
### Fixed
20+
21+
- Fix quoting issues when spark config values contain spaces ([#243]).
22+
1823
[#235]: https://github.com/stackabletech/spark-k8s-operator/pull/235
1924
[#236]: https://github.com/stackabletech/spark-k8s-operator/pull/236
2025
[#238]: https://github.com/stackabletech/spark-k8s-operator/pull/238
2126
[#241]: https://github.com/stackabletech/spark-k8s-operator/pull/241
27+
[#243]: https://github.com/stackabletech/spark-k8s-operator/pull/243
2228

2329
## [23.4.0] - 2023-04-17
2430

deploy/helm/spark-k8s-operator/templates/roles.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ rules:
2929
verbs:
3030
- create
3131
- delete
32+
- deletecollection
3233
- get
3334
- list
3435
- patch

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ metadata:
55
name: spark-pi
66
spec:
77
version: "1.0"
8-
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.3.0 # <1>
8+
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.0.0-dev # <1>
99
mode: cluster
1010
mainClass: org.apache.spark.examples.SparkPi
11-
mainApplicationFile: /stackable/spark/examples/jars/spark-examples_2.12-3.3.0.jar # <2>
11+
mainApplicationFile: /stackable/spark/examples/jars/spark-examples.jar # <2>
1212
executor:
1313
instances: 3

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ metadata:
55
name: spark-pi-s3-1
66
spec:
77
version: "1.0"
8-
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.3.0
8+
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.0.0-dev
99
sparkImagePullPolicy: IfNotPresent
1010
mode: cluster
1111
mainClass: org.apache.spark.examples.SparkPi
12-
mainApplicationFile: s3a://my-bucket/spark-examples_2.12-3.3.0.jar
12+
mainApplicationFile: s3a://my-bucket/spark-examples.jar
1313
s3connection: # <1>
1414
inline:
1515
host: test-minio

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
version: "1.0"
9-
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.3.0
9+
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.0.0-dev
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
version: "1.0"
9-
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.3.0
9+
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.0.0-dev
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
version: "1.0"
99
image: docker.stackable.tech/stackable/ny-tlc-report:0.1.0 # <1>
10-
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.3.0
10+
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.0.0-dev
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
version: "1.0"
9-
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.3.0
9+
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.0.0-dev
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ metadata:
55
name: example-sparkapp-s3-private
66
spec:
77
version: "1.0"
8-
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.3.0
8+
sparkImage: docker.stackable.tech/stackable/spark-k8s:3.3.0-stackable0.0.0-dev
99
mode: cluster
10-
mainApplicationFile: s3a://my-bucket/spark-examples_2.12-3.3.0.jar # <1>
10+
mainApplicationFile: s3a://my-bucket/spark-examples.jar # <1>
1111
mainClass: org.apache.spark.examples.SparkPi # <2>
1212
s3connection: # <3>
1313
inline:

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
version: "1.0"
9-
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.3.0
9+
sparkImage: docker.stackable.tech/stackable/pyspark-k8s:3.3.0-stackable0.0.0-dev
1010
mode: cluster
1111
mainApplicationFile: local:///stackable/spark/examples/src/main/python/streaming/hdfs_wordcount.py
1212
args:

0 commit comments

Comments
 (0)