-
Notifications
You must be signed in to change notification settings - Fork 47
[SPARK-51953] Support Java 24 #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
910127d to
c006e07
Compare
c006e07 to
123c058
Compare
|
It's ready. Could you review this once more, @viirya ? |
|
Also, cc @jiangzho |
| consoleOutput = true | ||
| ignoreFailures = false | ||
| } | ||
| if (JavaVersion.current() < JavaVersion.VERSION_24) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We cannot have these plugins for Java 24?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, these two plugins doesn't support Java 24 yet.
The development speed is not the same~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, these tools (PMD and spotbugs) are static code analysis tools. So, Java 17/21 test coverage are enough already. We don't need them in Java 24.
|
Thank you, @viirya ! Merged to main. |
### What changes were proposed in this pull request? This PR aims to update `Compatibility` section of `docs/operations.md`. ### Why are the changes needed? To make it up-to-date with newer Java and K8s versions. - apache/spark#49684 - #178 ### Does this PR introduce _any_ user-facing change? No, this is a doc-only change. ### How was this patch tested? Manual review. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #179 from dongjoon-hyun/SPARK-51965. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
This PR aims to support Java 24 as a preparation of Java 25 LTS.
lombok,jacoco, andmockitolibraries to support Java 24.pmdandspotbugsplugins.--enable-native-access=ALL-UNNAMEDtoDEFAULT_JVM_OPTS.SPARK_USER=sparkenvironment to the operator pod explicitly.4.0.0-preview2dependency to4.0.1-SNAPSHOTto validate with the upcomingApache Spark 4.0.0 RC5.azul/zulu-openjdk:24-jreas the docker base image.Java 24to the CI.Why are the changes needed?
To support Java 24 as a preparation of Java 25 LTS.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.