-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Java][CI] Enable JDK 21 #36994
Comments
I was getting Thankfully fixed in #35053 before I got here (but not yet released). |
@davisusanibar @danepitkin @lidavidm what is the status of this one? Is this a release blocker? |
We can push it to Arrow v15. It would have been really nice to verify Java 21 in CI, but the docker image from Eclipse Temurin is still not ready. |
Actually, Eclipse Temurin JDK is starting to be published now. Docker images will take a little bit longer, but maybe it will be ready in time! 🤞 |
### Rationale for this change Verify JDK 21 in CI in time for the Arrow v14 release. ### What changes are included in this PR? * Bump latest Java version from 20 -> 21 in CI ### Are these changes tested? Yes, via CI. ### Are there any user-facing changes? No. * Closes: #36994 Authored-by: Dane Pitkin <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
### Rationale for this change Verify JDK 21 in CI in time for the Arrow v14 release. ### What changes are included in this PR? * Bump latest Java version from 20 -> 21 in CI ### Are these changes tested? Yes, via CI. ### Are there any user-facing changes? No. * Closes: #36994 Authored-by: Dane Pitkin <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
### Rationale for this change Verify JDK 21 in CI in time for the Arrow v14 release. ### What changes are included in this PR? * Bump latest Java version from 20 -> 21 in CI ### Are these changes tested? Yes, via CI. ### Are there any user-facing changes? No. * Closes: apache#36994 Authored-by: Dane Pitkin <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
### What changes were proposed in this pull request? This pr upgrade Apache Arrow from 13.0.0 to 14.0.0. ### Why are the changes needed? The Apache Arrow 14.0.0 release brings a number of enhancements and bug fixes. In terms of bug fixes, the release addresses several critical issues that were causing failures in integration jobs with Spark([GH-36332](apache/arrow#36332)) and problems with importing empty data arrays([GH-37056](apache/arrow#37056)). It also optimizes the process of appending variable length vectors([GH-37829](apache/arrow#37829)) and includes C++ libraries for MacOS AARCH 64 in Java-Jars([GH-38076](apache/arrow#38076)). The new features and improvements focus on enhancing the handling and manipulation of data. This includes the introduction of DefaultVectorComparators for large types([GH-25659](apache/arrow#25659)), support for extended expressions in ScannerBuilder([GH-34252](apache/arrow#34252)), and the exposure of the VectorAppender class([GH-37246](apache/arrow#37246)). The release also brings enhancements to the development and testing process, with the CI environment now using JDK 21([GH-36994](apache/arrow#36994)). In addition, the release introduces vector validation consistent with C++, ensuring consistency across different languages([GH-37702](apache/arrow#37702)). Furthermore, the usability of VarChar writers and binary writers has been improved with the addition of extra input methods([GH-37705](apache/arrow#37705)), and VarCharWriter now supports writing from `Text` and `String`([GH-37706](apache/arrow#37706)). The release also adds typed getters for StructVector, improving the ease of accessing data([GH-37863](apache/arrow#37863)). The full release notes as follows: - https://arrow.apache.org/release/14.0.0.html ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass GitHub Actions ### Was this patch authored or co-authored using generative AI tooling? No Closes #43650 from LuciferYang/arrow-14. Lead-authored-by: yangjie01 <[email protected]> Co-authored-by: YangJie <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
### Rationale for this change Verify JDK 21 in CI in time for the Arrow v14 release. ### What changes are included in this PR? * Bump latest Java version from 20 -> 21 in CI ### Are these changes tested? Yes, via CI. ### Are there any user-facing changes? No. * Closes: apache#36994 Authored-by: Dane Pitkin <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
### Rationale for this change Verify JDK 21 in CI in time for the Arrow v14 release. ### What changes are included in this PR? * Bump latest Java version from 20 -> 21 in CI ### Are these changes tested? Yes, via CI. ### Are there any user-facing changes? No. * Closes: apache#36994 Authored-by: Dane Pitkin <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
while enabling arrow with spark in java 21 unhandled |
@Midhunpottammal can you share more details? which version of Arrow and spark are you using and the stack trace. |
Spark - Version
pyarrow -Version
PySpark code
Error Log
24/03/05 14:02:59 ERROR Executor: Exception in task 11.0 in stage 0.0 (TID 11) Full Stack Trace link |
Facing the same issue:
|
I don't think you can set |
@iskandari @danepitkin @raulcd I managed to get Arrow working with a lower version of Java in Spark 3.5.0. Here's my stack:
When I try to move to Java version 21, I encounter the same error |
It turns out Spark 3.X does not support Java 21, but Spark 4.0 does. Resolved issue here #40287 |
Describe the enhancement requested
Java 21 is the next long-term support (LTS) version after Java 17 and is scheduled to be released in September 2023.
Component(s)
Java
The text was updated successfully, but these errors were encountered: