[
https://issues.apache.org/jira/browse/HADOOP-19058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17815483#comment-17815483
]
ASF GitHub Bot commented on HADOOP-19058:
-----------------------------------------
slfan1989 commented on PR #6531:
URL: https://github.com/apache/hadoop/pull/6531#issuecomment-1933275327
> commented. I looked at surefire and it is at 3.2.5; probably time to
upgrade. I propose it is done before doing this one, splitting them in two.
>
> and we need java8 and java17 profiles so we can add other options in other
places
I agree with your points, but there are some additional details to be added:
- I agree to establish profiles for Java 8 and Java 17, and I think we
should also include Java 11 and Java 21.
- There are still some pending tasks related to Java 11. We need to continue
working on HADOOP-15984, specifically updating Jersey from version 1.19 to 2.x.
Ideally, we should update it to Jersey 3.x. (I will start following this JIRA
in the next 1-2 days)
- We need to migrate from JUnit 4 to JUnit 5. Some progress has already been
made in Yarn.
- We should consider upgrading the version of the Maven Surefire Plugin.
Currently, we are using `3.0.0-M1`, but I suggest upgrading it to `3.2.2`. I
have noticed that some projects are using this version, and I will try it out.
I will create a JIRA ticket for Java 17 compile support. I am aware that
there is a lot of work to be done, and I hope that we can address the JDK
support issue this year.
> [JDK-17] Fix UT Failures in hadoop common, hdfs, yarn
> -----------------------------------------------------
>
> Key: HADOOP-19058
> URL: https://issues.apache.org/jira/browse/HADOOP-19058
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Bilwa S T
> Assignee: Bilwa S T
> Priority: Major
> Labels: pull-request-available
>
> Most of the UT's failed with below exception:
> Caused by: java.lang.ExceptionInInitializerError: Exception
> java.lang.reflect.InaccessibleObjectException: Unable to make protected final
> java.lang.Class
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) throws
> java.lang.ClassFormatError accessible: module java.base does not "opens
> java.lang" to unnamed module @d13f7c [in thread "Time-limited test"]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]