[
https://issues.apache.org/jira/browse/HADOOP-19638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18010884#comment-18010884
]
ASF GitHub Bot commented on HADOOP-19638:
-----------------------------------------
ayushtkn commented on PR #7831:
URL: https://github.com/apache/hadoop/pull/7831#issuecomment-3135759641
I don't think we can maintain so many JDK versions. There would be some
thirdparty dependencies which we might upgrade to & they would be compiled on
higher JDK versions. So, the moment that happens, JDK-8 compilation will break.
& Not upgrading to those dependencies or not using higher JDK features doesn't
make sense.
Hadoop in branch-3 dropped JDK-7 support as well, branch-2 only has JDK-7
IIRC. We haven't marked the lower branches which are JDK-8 compliant as EOL,
so, it isn't a deal breaker for someone who wants to stick to JDK-8, Moreover
we can't run tests & all on all JDK versions, We need to pick one only.
I think most of the projects are dropping the JDK-8 support and chasing for
higher versions. I know in Hive it is like 4.0 line -JDK-8, 4.1.0 line - JDK-17
& now master branch min JDK-21 compile time, same with Tez the master is on
JDK-21 compile time support.
I don't think sticking to any legacy stuff is worth it if it adds any
technical debt for us, Should chase for a higher version. Just my opinion,
other might feel differently
> [JDK17] Set Up CI Support JDK17
> -------------------------------
>
> Key: HADOOP-19638
> URL: https://issues.apache.org/jira/browse/HADOOP-19638
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: build
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
>
> Plan to establish a new build pipeline using JDK 17 for Apache Hadoop, as
> part of the ongoing effort to upgrade the project’s Java compatibility. This
> pipeline will serve as the foundation for testing and validating future JDK
> 17 support and ensuring smooth integration with existing CI/CD processes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]