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

Rohit Kumar commented on HADOOP-19486:
--------------------------------------

I am thinking of backporting these changes to branch-3.4.

HADOOP-19670 and HADOOP-19547 seems to be the major changes. The rest we can 
backport in batches I think. 

Hi [~slfan1989], [~chengpan], [~cnauroth], please let me know your thoughts on 
this. Let me know if I should follow a particular order for these backports or 
if there are any blockers. I am currently thinking of merging these in order of 
older to newer PR changes (keeping in mind the dependencies in between).

[~stoty]  is no more with us (May he Rest in Peace), so I am taking this 
initiative of merging these changes to branch-3.4 from Cloudera side. Thanks

> [JDK25] Fully Support Java 25
> -----------------------------
>
>                 Key: HADOOP-19486
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19486
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>
> Hadoop trunk today mostly supports JDK17, but doesn't work at all on JDK23. 
> (and conversely on JDK24 to be released in less than two weeks)
> While there are many smaller issues, the major breaking change is the 
> SecurityManager removal (JEP411/486), and its many consequences.
> The obvious change is that Subjec.doAs() and Subject.current() no longer work 
> by default, and the replacement APIs must be used.
> The more insidius change is that when SecurityManager is disabled then JDK22+ 
> does not propapage the Subject to new Threads, which is something that Hadoop 
> absolutely relies on.
> Note that Hadoop is always built with with JDK 17  (if the JDK is 17 or 
> newer), unless the target version is specifically overriden.
> This is not a problem, JDK17 class files running on a JDK 24 JVM is the 
> expected use case for binary distributions.
> We may want to run some tests where Hadoop is also compiled for the lastest 
> JVM later. (taget Java 24 + JVM 24)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to