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

ASF GitHub Bot commented on HADOOP-19852:
-----------------------------------------

cnauroth opened a new pull request, #8395:
URL: https://github.com/apache/hadoop/pull/8395

   ### Description of PR
   
   hadoop-tos tests fail for me locally due to a reflection error. The reason 
is that hadoop-tos/pom.xml overrides the maven-surefire-plugin JVM `<argLine>` 
twice, dropping the `--add-opens` that enables the reflective access for 
short-term compatibility in Java 17.
   
   ```
   [ERROR] 
org.apache.hadoop.fs.tosfs.object.TestObjectRangeInputStream.testSeek 

> hadoop-tos test failures due to reflection failure
> --------------------------------------------------
>
>                 Key: HADOOP-19852
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19852
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: test, tos
>    Affects Versions: 3.5.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Major
>
> hadoop-tos tests fail for me locally due to a reflection error. The reason is 
> that hadoop-tos/pom.xml overrides the maven-surefire-plugin JVM `<argLine>` 
> twice, dropping the `--add-opens` that enables the reflective access for 
> short-term compatibility in Java 17. I have a local patch that removes the 
> redundant override, and the tests pass.



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