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

Yang Jie edited comment on SPARK-33772 at 8/25/21, 5:46 AM:
------------------------------------------------------------

[~dongjoon] [~hyukjin.kwon] [~xkrogen] [~iemejia]I've been doing some test work 
recently:
 * Scala 2.13 and JDK 17-ea are easier to use together. We can pass most UTs by 
adding some ` --add-opens' rules,  maybe we can add these args as default for 
`spark.driver.extraJavaOptions` and `spark.executor.extraJavaOptions` when use 
JDK 17
 * Scala 2.12 doesn't seem to fit well because there are some interfaces 
mismatch when using the reflection API with JDK 17-ea

 


was (Author: luciferyang):
[~dongjoon] [~hyukjin.kwon] [~xkrogen] [~iemejia]I've been doing some test work 
recently:
 * Scala 2.13 and JDK 17-ea are easier to use together. We can pass most UTs by 
adding some ` --add-opens' rules, I think maybe we can try to use these args as 
the default for `spark.driver.extraJavaOptions` and 
`spark.executor.extraJavaOptions` when use JDK 17
 * Scala 2.12 doesn't seem to fit well because there are some interfaces 
mismatch when using the reflection API with JDK 17-ea

 

> 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.2.0
>            Reporter: Dongjoon Hyun
>            Priority: Major
>
> Apache Spark supports Java 8 and Java 11 (LTS). The next Java LTS version is 
> 17.
> ||Version||Release Date||
> |Java 17 (LTS)|September 2021|



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to