Skip to content

[SPARK-60639] Publish Apache Spark 4.2.1 to docker registry - #141

Closed
szehon-ho wants to merge 1 commit into
apache:masterfrom
szehon-ho:codex/spark-4.2.1-docker
Closed

szehon-ho wants to merge 1 commit into
apache:masterfrom
szehon-ho:codex/spark-4.2.1-docker

Conversation

@szehon-ho

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Publish Apache Spark 4.2.1 to the Docker registry:

  • Generate Scala 2.13 images for Java 17, 21, and 25, with Scala, Python, R, and Python/R variants.
  • Register the 4.2.1 release signing key and add the build/test workflow.
  • Add 4.2.1 to the publish/test workflows and make it the default version.
  • Add versioned image tags and move the floating tags, including latest, to 4.2.1.

The Dockerfiles and entrypoints are generated using ./add-dockerfiles.sh 4.2.1.

Why are the changes needed?

Apache Spark 4.2.1 has been released:

This follows the release publication changes in #139 for Spark 4.1.4.

Does this PR introduce any user-facing change?

Yes. Adds Spark 4.2.1 image tags and updates the floating tags to use 4.2.1.

How was this patch tested?

  • Generated all 12 image variants with ./add-dockerfiles.sh 4.2.1.
  • Checked the release signature's issuer fingerprint against Apache Spark KEYS and the public keyserver.
  • Validated JSON/YAML, unique image tags, preservation of existing versioned tags, floating tag ownership, and workflow matrices/defaults.
  • Checked all three generated entrypoints with bash -n and verified their executable permissions.
  • Ran the manifest tag generator and git diff --check.

Docker is unavailable locally. Image builds and standalone/Kubernetes integration tests will run through the new Java 17/21/25 CI matrix.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Codex (GPT-6)

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

[SPARK-60639][DOCKER] Publish Apache Spark 4.2.1 to docker registry

Nit: I don't think any PR in spark-docker uses [DOCKER] tag in PR title

@szehon-ho szehon-ho changed the title [SPARK-60639][DOCKER] Publish Apache Spark 4.2.1 to docker registry [SPARK-60639] Publish Apache Spark 4.2.1 to docker registry Oct 28, 2026
@szehon-ho

Copy link
Copy Markdown
Member Author

Thanks changed

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you @szehon-ho!

@szehon-ho szehon-ho closed this in 4c10411 Oct 28, 2026
HeartSaVioR added a commit that referenced this pull request Nov 5, 2026
### What changes were proposed in this pull request?

Publish Apache Spark 4.3.0 to the Docker registry:

- Generate Scala 2.13 images for Java 17, 21, and 25, with Scala, Python, R, and Python/R variants.
- Register the 4.3.0 release signing key and add the build/test workflow.
- Add 4.3.0 to the publish/test workflows and make it the default version.
- Add versioned image tags and move the floating tags, including `latest`, from 4.2.1 to 4.3.0.

The Dockerfiles and entrypoints are generated using `./add-dockerfiles.sh 4.3.0`.

### Why are the changes needed?

Apache Spark 4.3.0 has been released:

- https://github.com/apache/spark/releases/tag/v4.3.0
- https://spark.apache.org/docs/4.3.0/
- https://dist.apache.org/repos/dist/release/spark/spark-4.3.0/

This follows the release publication changes in #141 for Spark 4.2.1.

### Does this PR introduce _any_ user-facing change?

Yes. Adds Spark 4.3.0 image tags and updates the floating tags to use 4.3.0.

### How was this patch tested?

- Generated all 12 image variants with `./add-dockerfiles.sh 4.3.0`. Apart from the version and the GPG key, they are identical to the 4.2.1 variants.
- Checked the release signature's issuer fingerprint (`FD3E84942E5E6106235A1D25BD356A9F8740E4FF`) against Apache Spark KEYS and the public keyserver.
- Compared the full diff with #141 after normalizing version strings. Only the GPG key and surrounding context lines differ.
- Validated JSON/YAML, unique image tags, preservation of existing versioned tags, floating tag ownership (all on 4.3.0), and workflow matrices/defaults.
- Checked all three generated entrypoints with `bash -n` and verified their executable permissions.
- Ran the manifest tag generator and `git diff --check`.
- Built `4.3.0/scala2.13-java17-ubuntu` locally with `docker build` (including GPG and SHA-512 verification of the release tarball). Then ran:
  - `spark-submit --version`: reports Spark 4.3.0, Scala 2.13.18, OpenJDK 17.0.21.
  - `run-example SparkPi 10`: prints `Pi is roughly 3.1409...`.

The other image builds and the standalone/Kubernetes integration tests will run through the new Java 17/21/25 CI matrix.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 5.5)

Closes #143 from HeartSaVioR/spark-4.3.0-docker.

Authored-by: Jungtaek Lim <kabhwan.opensource@gmail.com>
Signed-off-by: Jungtaek Lim <kabhwan.opensource@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants