You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Sagar Sumit (Jira)" <ji...@apache.org> on 2022/08/09 04:58:00 UTC
[jira] [Commented] (HUDI-2669) Upgrade Java toolset/runtime to JDK11
[ https://issues.apache.org/jira/browse/HUDI-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17577138#comment-17577138 ]
Sagar Sumit commented on HUDI-2669:
-----------------------------------
I have made it a blocker for next major release of Hudi 0.13.0.
Let's keep track of the following page [https://cwiki.apache.org/confluence/display/HADOOP/Hadoop+Java+Versions]
It looks like compiling Hadoop with Java 11 is still not supported, but Hadoop 3.3+ offers runtime support.
> Upgrade Java toolset/runtime to JDK11
> -------------------------------------
>
> Key: HUDI-2669
> URL: https://issues.apache.org/jira/browse/HUDI-2669
> Project: Apache Hudi
> Issue Type: Improvement
> Components: performance
> Reporter: sivabalan narayanan
> Assignee: Alexey Kudinkin
> Priority: Blocker
> Labels: performance
> Fix For: 0.13.0
>
>
> We should upgrade to at least JDK11, or preferably current latest LTS JDK17
>
> Plan for migration:
> *Compilation*
> JDK8 will still be used to *compile* source code (both source/target will stay `1.8`): this is required to make sure as we migrate to JDK11, we don't add dependencies on features not compatible w/ JDK8. Migrating off JDK8 in toolset, will happen at a later point, when we would stop providing any assurances about the code being able to be run on 1.8.
> *Runtime*
> JDK11 will be used to *run* the code: due to JVM b/w compatibility there should be no issues of running the code compiled for 1.8 on JDK11+, other than dependencies compatibility. For that we would make sure that all our test-suites do run against JDK11+.
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)