Skip to content

Commit 718e462

Browse files
committed
Add support for Spark 3.4.0
1 parent e23dae7 commit 718e462

File tree

6 files changed

+12
-3
lines changed

6 files changed

+12
-3
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/partials/supported-versions.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
- 3.2.1-hadoop3.2
66
- 3.2.1-hadoop3.2-python39
77
- 3.3.0-hadoop3
8+
- 3.4.0-hadoop3

rust/crd/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ impl SparkApplication {
618618
}
619619
// ...before being added to the command collection
620620
for (key, value) in submit_conf {
621-
submit_cmd.push(format!("--conf {key}={value}"));
621+
submit_cmd.push(format!("--conf \"{key}={value}\""));
622622
}
623623

624624
submit_cmd.extend(

rust/operator-binary/src/history_controller.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,9 @@ fn command_args(s3logdir: &S3LogDir) -> Vec<String> {
536536

537537
if let Some(secret_dir) = s3logdir.credentials_mount_path() {
538538
command.extend(vec![
539-
format!("export AWS_ACCESS_KEY_ID=$(cat {secret_dir}/{ACCESS_KEY_ID})"),
539+
format!("export AWS_ACCESS_KEY_ID=\"$(cat {secret_dir}/{ACCESS_KEY_ID})\""),
540540
"&&".to_string(),
541-
format!("export AWS_SECRET_ACCESS_KEY=$(cat {secret_dir}/{SECRET_ACCESS_KEY})"),
541+
format!("export AWS_SECRET_ACCESS_KEY=\"$(cat {secret_dir}/{SECRET_ACCESS_KEY})\""),
542542
"&&".to_string(),
543543
]);
544544
}

tests/test-definition.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ dimensions:
1010
- name: spark
1111
values:
1212
- 3.3.0-stackable0.0.0-dev
13+
- 3.4.0-stackable0.0.0-dev
1314
- name: ny-tlc-report
1415
values:
1516
- 0.1.0

0 commit comments

Comments
 (0)