-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-19212. (3.4) Hadoop UGI compatible with Java 25 #7897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* Hadoop UGI compatible with Java 25 Co-authored-by: Istvan Toth <[email protected]> Reviewed-by: Shaoyun Chen <[email protected]> Reviewed-by: Dongjoon Hyun <[email protected]> Reviewed-by: Yang Jie <[email protected]> Reviewed-by: Steve Loughran <[email protected]> Reviewed-by: Chris Nauroth <[email protected]> Reviewed-by: Istvan Toth <[email protected]> Signed-off-by: Shilun Fan <[email protected]>
|
🎊 +1 overall
This message was automatically generated. |
|
@steveloughran We want to backport this PR to branch-3.4. Do you think that’s okay? |
|
It's already merged :) I'm fine with this backport. The question whether we want to fully support Java 18+ in 3.4.3. I was working on the assumption that support for Java 18+ was only targeted for 3.5.0. This is just one (admittedly critical) part of support for newer Javas, I alone have more than a dozen Java 25 patches in trunk which were never backported to 3.4, and the large patch for Subject propagation in threads is still WIP. IMO None of those patches are particularly controversial, though backporting them would take some work. The options are:
|
My current goal is to make Hadoop "client" support Java 18+ in the next 3.4.x. version, fully Java 18+ support should target 3.5.
I roughly understand what you are trying to fix, but I haven't seen real failures caused by this, do you have a concrete example that is affected by the lack of change? and is it must be fixed on Hadoop itself, and can not be workarounded by downstream projects?
I won't block 3.4.2 release if it's already in good shape, I prefer this option. |
My problem with that is that I am not at all convinced that this patch alone fixes the client fully. Which parts does Spark even test ? HDFS ? MR/Yarn ? Do Spark tests use secure mode / kerberos ? Do they use doAs/proxyUser ?
Just try and run the tests on JDK24/25 without the Thread fixes (i.e current trunk). Many tests will fail without them.
I agree with not delaying 3.4.2 further, but have reservations about only adding this patch in 3.4.3, as noted above. |
|
Basically, I am wary of shipping a 3.4.3 that looks like it works with Java 18+ at first glance, but can break down in interesting ways in some use cases. |
Spark UT does not cover HDFS/MR tests, it has YARN integration tests by leveraging
This is better than nothing, we can continue to fix issues discovered by downstream projects and release new patched versions. |
Thanks
Or we can backport all JDK 18+ patches, and have better confidence that it will work on the first try. Really there are only two major patches, one is this one, and the other one is the thread patch. |
|
@stoty WDYT have Hadoop 3.4.3 RC first and hold for a period (at least 3 weeks), to allow downstream projects to integrate and report issues? |
|
I'm OK with that as long as we communicate clearly that the JDK24-25 support is not a properly tested. I understand and respect that you want something for Spark, I just don't want ppl to get the impression that 3.4.3 is properly tested and production ready on JDK18+. |
Absolutely! |
Port #7886 to branch-3.4