Skip to content

ci: pin Java 21 for the distributed tests - #401

Merged
AzulGarza merged 1 commit into
mainfrom
ci/pin-java-distributed
Nov 10, 2026
Merged

AzulGarza merged 1 commit into
mainfrom
ci/pin-java-distributed

Conversation

@AzulGarza

Copy link
Copy Markdown
Member

Summary

test distributed fails on every PR since ubuntu-latest moved to ubuntu-26.04 (example):

py4j.protocol.Py4JJavaError: ... JavaSparkContext.
: java.lang.UnsupportedOperationException: getSubject is not supported
    at java.base/javax.security.auth.Subject.getSubject(Subject.java:277)
    at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(...)

The new image's default JDK is newer than the one PySpark 4.0.x's bundled Hadoop supports (Subject.getSubject now throws without the Security Manager). main last passed before the image rolled out, so this is unrelated to any feature PR (first seen on #400).

Change

Add actions/setup-java with Temurin 21 to the test-distributed job, so Spark no longer depends on the runner image's default JDK.

Test plan

  • test distributed passes on this PR.

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI balanced review requested due to automatic review settings November 9, 2026 21:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@AzulGarza
AzulGarza merged commit 43bd134 into main Nov 10, 2026
11 checks passed
@AzulGarza
AzulGarza deleted the ci/pin-java-distributed branch November 10, 2026 00:38
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.

2 participants