Skip to content

[BUILD] Add Java 25 support and test Spark 4.2 with Java 25 - #7657

Open
pan3793 wants to merge 3 commits into
apache:masterfrom
pan3793:java25
Open

[BUILD] Add Java 25 support and test Spark 4.2 with Java 25#7657
pan3793 wants to merge 3 commits into
apache:masterfrom
pan3793:java25

Conversation

@pan3793

@pan3793 pan3793 commented Aug 24, 2026

Copy link
Copy Markdown
Member

Why are the changes needed?

Java 25 is the current LTS (released Sep 2025, Oracle Premier Support until
Sep 2030, Extended Support until Sep 2033). Kyuubi's JVM options are still
Java 21-era, so Kyuubi cannot run reliably on the new LTS.

Spark 4.2 supports and defaults to Java 25 (SPARK-51167 (4.2.0): Build and
Run Spark on Java 25). Aligning Kyuubi's runtime options with Spark 4.2 keeps
the gateway's behavior consistent with the engine it launches.

How was this patch tested?

No new tests: the change only adjusts JVM/CI configuration; the existing Spark
4.2 CI jobs exercise it.

Was this patch assisted by generative AI tooling?

Assisted-by: Codex:DeepSeek V4 Pro

@github-actions github-actions Bot added kind:infra license, community building, project builds, asf infra related, etc. kind:build kind:deploy labels Aug 24, 2026

test("kyuubi defined function - system_user/session_user") {
// TODO: re-enable this test on JDK 25 after upgrading Hadoop that includes
// HADOOP-19906 (3.4.4, 3.5.1, 3.6.0)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

it's a known bug that waits for a new hadoop release

@pan3793
pan3793 requested review from cxzl25 and turboFei August 25, 2026 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:build kind:deploy kind:infra license, community building, project builds, asf infra related, etc. module:server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants