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

Attila Doroszlai commented on HDDS-10121:
-----------------------------------------

[~deveshsingh], CI currently doesn't run tests with JDK 17.  It can be tested 
locally (set JAVA_HOME to the actual location on your machine):

{code}
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 \
  ./hadoop-ozone/dev-support/checks/junit.sh -DexcludedGroups=unhealthy \
  -am -pl :ozone-integration-test -Dtest='TestECContainerRecovery'
{code}

> GenericTestUtils.getFieldReflection fails with Java 17
> ------------------------------------------------------
>
>                 Key: HDDS-10121
>                 URL: https://issues.apache.org/jira/browse/HDDS-10121
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Attila Doroszlai
>            Assignee: Devesh Kumar Singh
>            Priority: Major
>
> {code}
> NoSuchFieldException: modifiers
>       at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
>       at 
> org.apache.ozone.test.GenericTestUtils.getFieldReflection(GenericTestUtils.java:236)
>       at 
> org.apache.hadoop.ozone.container.TestECContainerRecovery.testECContainerRecoveryWithTimedOutRecovery(TestECContainerRecovery.java:304)
> {code}



--
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