← Back to Pull requests

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

Closed
unknown closed this pull request without merging on Oct 28, 2026 20:48 UTC
View on GitHub
unknown unknown commented on Oct 28, 2026 18:41 UTC
Author

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:

  • https://github.com/apache/spark/releases/tag/v4.2.1

  • https://spark.apache.org/docs/4.2.1/

  • https://dist.apache.org/repos/dist/release/spark/spark-4.2.1/
  • 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)

    Diff: 212 lines (+159 / -53) across 2 files Reviewer: uros-b Review duration: 127m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 212 lines diff across 2 files
    0.37
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.321
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #141"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 36.5% (MEDIUM) · Higher = larger blast radius
    36.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.4% · Safe to merge
    14.4%