You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "D M Murali Krishna Reddy (Jira)" <ji...@apache.org> on 2020/11/11 18:26:00 UTC

[jira] [Assigned] (YARN-10474) [JDK 12] TestAsyncDispatcher fails

     [ https://issues.apache.org/jira/browse/YARN-10474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

D M Murali Krishna Reddy reassigned YARN-10474:
-----------------------------------------------

    Assignee: D M Murali Krishna Reddy

> [JDK 12] TestAsyncDispatcher fails
> ----------------------------------
>
>                 Key: YARN-10474
>                 URL: https://issues.apache.org/jira/browse/YARN-10474
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>            Reporter: Akira Ajisaka
>            Assignee: D M Murali Krishna Reddy
>            Priority: Major
>
> Similar to HDFS-15580. Updating a final variable via reflection is not allowed in Java 12+.
> {noformat}
> [INFO] Running org.apache.hadoop.yarn.event.TestAsyncDispatcher
> [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.953 s <<< FAILURE! - in org.apache.hadoop.yarn.event.TestAsyncDispatcher
> [ERROR] testPrintDispatcherEventDetails(org.apache.hadoop.yarn.event.TestAsyncDispatcher)  Time elapsed: 0.114 s  <<< ERROR!
> java.lang.NoSuchFieldException: modifiers
> 	at java.base/java.lang.Class.getDeclaredField(Class.java:2569)
> 	at org.apache.hadoop.yarn.event.TestAsyncDispatcher.testPrintDispatcherEventDetails(TestAsyncDispatcher.java:152)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> 	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
> 	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
> 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> 	at java.base/java.lang.Thread.run(Thread.java:832)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org