Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
- hive: Add version `4.0.0` ([#818]).
- trino: Add version `455` ([#822]).
- trino-cli: Add version `455` ([#822]).
- spark: Add version `3.5.2` ([#848]).

### Changed

Expand All @@ -30,6 +31,7 @@ All notable changes to this project will be documented in this file.
- trino-cli: Remove version `451` ([#822]).
- hbase: Remove 2.4.17 ([#846]).
- omid: Remove 1.1.0 and 1.1.1 ([#846]).
- spark: Remove 3.4.2 and 3.4.3 ([#848]).

### Fixed

Expand All @@ -45,6 +47,7 @@ All notable changes to this project will be documented in this file.
[#819]: https://github.com/stackabletech/docker-images/pull/819
[#822]: https://github.com/stackabletech/docker-images/pull/822
[#846]: https://github.com/stackabletech/docker-images/pull/846
[#848]: https://github.com/stackabletech/docker-images/pull/848

## [24.7.0] - 2024-07-24

Expand Down
29 changes: 0 additions & 29 deletions spark-k8s/stackable/patches/3.4.2/001-cyclonedx-plugin.patch

This file was deleted.

29 changes: 0 additions & 29 deletions spark-k8s/stackable/patches/3.4.3/001-cyclonedx-plugin.patch

This file was deleted.

30 changes: 30 additions & 0 deletions spark-k8s/stackable/patches/3.5.2/001-cyclonedx-plugin.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
diff --git a/dev/make-distribution.sh b/dev/make-distribution.sh
index ef7c010..0f4c1c7 100755
--- a/dev/make-distribution.sh
+++ b/dev/make-distribution.sh
@@ -171,7 +171,6 @@ BUILD_COMMAND=("$MVN" clean package \
-Dmaven.javadoc.skip=true \
-Dmaven.scaladoc.skip=true \
-Dmaven.source.skip \
- -Dcyclonedx.skip=true \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this because it is broken?

Semi-related, where do we document patches, like the reasoning as to why some things are added/removed? Or is it always to resolve security vulnerabilities?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first question is better answered by @dervoeti I guess.

The semi-related question is a good one. Maybe we could handle it here: https://github.com/stackabletech/decisions/issues/26

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Will leave this open until @dervoeti responds, just so we have a reason somewhere.

$@)

# Actually build the jar
diff --git a/pom.xml b/pom.xml
index 0f504db..6cca7db 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3482,7 +3482,12 @@
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
- <version>2.7.9</version>
+ <version>2.8.0</version>
+ <configuration>
+ <projectType>application</projectType>
+ <schemaVersion>1.5</schemaVersion>
+ <skipNotDeployed>false</skipNotDeployed>
+ </configuration>
<executions>
<execution>
<phase>package</phase>
32 changes: 8 additions & 24 deletions spark-k8s/versions.py
Original file line number Diff line number Diff line change
@@ -1,38 +1,22 @@
versions = [
{
"product": "3.4.2",
"java-base": "11",
"java-devel": "11",
"python": "3.11",
"hadoop_long_version": "3.3.4", # https://github.com/apache/spark/blob/1db2f5c36b120c213432fc658c9fd24fc73cb45e/pom.xml#L122
"aws_java_sdk_bundle": "1.12.262", # https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-aws/3.3.4
"azure_storage": "7.0.1", # https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-azure/3.3.4
"azure_keyvault_core": "1.0.0", # https://mvnrepository.com/artifact/com.microsoft.azure/azure-storage/7.0.1
"jackson_dataformat_xml": "2.14.2", # https://mvnrepository.com/artifact/org.apache.spark/spark-core_2.13/3.4.2
"stax2_api": "4.2.1", # https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.14.2
"woodstox_core": "6.5.0", # https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.14.2
"vector": "0.40.1",
"jmx_exporter": "1.0.1",
"tini": "0.19.0",
},
{
"product": "3.4.3",
"java-base": "11",
"java-devel": "11",
"product": "3.5.1",
"java-base": "17",
"java-devel": "17",
"python": "3.11",
"hadoop_long_version": "3.3.4", # https://github.com/apache/spark/blob/1db2f5c36b120c213432fc658c9fd24fc73cb45e/pom.xml#L122
"hadoop_long_version": "3.3.4", # https://github.com/apache/spark/blob/6a5747d66e53ed0d934cdd9ca5c9bd9fde6868e6/pom.xml#L125
"aws_java_sdk_bundle": "1.12.262", # https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-aws/3.3.4
"azure_storage": "7.0.1", # https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-azure/3.3.4
"azure_keyvault_core": "1.0.0", # https://mvnrepository.com/artifact/com.microsoft.azure/azure-storage/7.0.1
"jackson_dataformat_xml": "2.14.2", # https://mvnrepository.com/artifact/org.apache.spark/spark-core_2.13/3.4.3
"stax2_api": "4.2.1", # https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.14.2
"woodstox_core": "6.5.0", # https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.14.2
"jackson_dataformat_xml": "2.15.2", # https://mvnrepository.com/artifact/org.apache.spark/spark-core_2.13/3.5.1
"stax2_api": "4.2.1", # https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.15.2
"woodstox_core": "6.5.1", # https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.15.2
"vector": "0.40.1",
"jmx_exporter": "1.0.1",
"tini": "0.19.0",
},
{
"product": "3.5.1",
"product": "3.5.2",
"java-base": "17",
"java-devel": "17",
"python": "3.11",
Expand Down