[ 
https://issues.apache.org/jira/browse/SPARK-33772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17653941#comment-17653941
 ] 

Jorge Machado edited comment on SPARK-33772 at 1/3/23 12:27 PM:
----------------------------------------------------------------

I still have an issue with this. Running sbt test fails and I don't know why. 
{code:java}
An exception or error caused a run to abort: class 
org.apache.spark.storage.StorageUtils$ (in unnamed module @0x1aa7ecca) cannot 
access class sun.nio.ch.DirectBuffer (in module java.base) because module 
java.base does not export sun.nio.ch to unnamed module @0x1aa7ecca 
 {code}


was (Author: jomach):
I still have an issue with this. Running sbt test fails and I don't know why. 

[error] Uncaught exception when running .LocalViewCreatorTest: 
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.spark.storage.StorageUtils$
23/01/03 12:16:40 INFO Utils: Successfully started service 'sparkDriver' on 
port 49902.
[error] sbt.ForkMain$ForkError: java.lang.NoClassDefFoundError: Could not 
initialize class org.apache.spark.storage.StorageUtils$
[error]         at 
org.apache.spark.storage.BlockManagerMasterEndpoint.<init>(BlockManagerMasterEndpoint.scala:114)

> Build and Run Spark on Java 17
> ------------------------------
>
>                 Key: SPARK-33772
>                 URL: https://issues.apache.org/jira/browse/SPARK-33772
>             Project: Spark
>          Issue Type: New Feature
>          Components: Build
>    Affects Versions: 3.3.0
>            Reporter: Dongjoon Hyun
>            Assignee: Yang Jie
>            Priority: Major
>              Labels: releasenotes
>             Fix For: 3.3.0
>
>
> Apache Spark supports Java 8 and Java 11 (LTS). The next Java LTS version is 
> 17.
> ||Version||Release Date||
> |Java 17 (LTS)|September 2021|
> Apache Spark has a release plan and `Spark 3.2 Code freeze` was July along 
> with the release branch cut.
> - https://spark.apache.org/versioning-policy.html
> Supporting new Java version is considered as a new feature which we cannot 
> allow to backport.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to