slfan1989 commented on PR #7337:
URL: https://github.com/apache/hadoop/pull/7337#issuecomment-3368038412
I would like to share the current progress on Hadoop JDK17.
1. Junit5 Upgrade
We have completed the migration of unit tests to Junit5 across the project
and removed Junit4 dependencies wherever possible.
In addition, we configured an Import Rule to ensure that Junit4 references
are not reintroduced.
However, some Junit4 dependencies still remain because certain third-party
plugins continue to rely on Junit4 components (
see YARN-11872: TestAppCatalogSolrClient has a Junit4 transitive
dependency).
We will need to wait until these plugins are upgraded before fully
removing Junit4.
2. Unit Test Issues
Several failing unit tests remain, mainly in the YARN module, including RM
crash tests and other errors.
There are also issues reported with the Jesery2 Client (see mailing list
thread).
I have set up a complete local environment to run the full test suite and
will continue to follow up on these issues with high priority.
3. JDIFF Issues and Progress
JDIFF is a long-standing plugin that has not been updated since JDK8.
Thanks to the efforts of Hualong Zhang, JDIFF can now be successfully
compiled under JDK17.
He also updated the custom annotations in hadoop-annotations, enabling
jdiff to generate difference files under JDK17.
I assisted in reviewing part of the code changes and consider them
reasonable.
Hualong is currently on leave and is expected to submit these changes to
the community next week.
Additionally, we identified missing files in some versions:
hadoop-3.4.0 is missing Apache_Hadoop_Common_3.4.0.xml;
hadoop-3.4.1 and hadoop-3.4.2 did not upload jdiff comparison files to the
trunk branch.
4. JDK17 Validation Pipeline
With the assistance of Gautham, we have configured a Jenkins JDK17
validation pipeline.
I will run a full validation on the trunk branch as soon as possible, and
if no issues are found,
we plan to officially switch the trunk branch build to JDK17 within the
next 1–2 weeks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]