-
Notifications
You must be signed in to change notification settings - Fork 33
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 11 support #356
Comments
Getting closer to Spark 3.0.0!
|
- Some hacks to get a sucessful build - Definitely need to loop back and clean-up a whole lot! - Addresses #356
Successful build:
Successful Spark 3.0.0-preview load with
BUT! We're broken somewhere:
I'll have to dig in more later. |
Successful run here: 06764f7!! |
…talled 🤦, and a bunch more pom cleanup.
I'll get the branch updated shortly. |
Resolved with: 59b1d4e |
Spark team, is 3.0 official to use with Java11 then ? |
According to documentation, yes, but I am unable to build a Spark 3.1.2 project with Maven 3.8.1/JDK 11: ` [ERROR] WARNING: Illegal reflective access by org.apache.spark.unsafe.Platform (file:m2/repository/org/apache/spark/spark-unsafe_2.12/3.1.2/spark-unsafe_2.12-3.1.2.jar) to constructor java.nio.DirectByteBuffer(long,int) According to https://spark.apache.org/docs/3.1.2/: But even after adding the following to my environment export JAVA_OPTS="-Dio.netty.tryReflectionSetAccessible=true" I am still unable to build the Spark 3.1.2 project with JDK 11 ...... |
From the Apache Spark mailing list:
We'll align with Apache Spark here on Java 11 support. Once we have a Spark release with Java 11, I'll pivot to getting
aut
stable with Java 11.The text was updated successfully, but these errors were encountered: