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

Prabhu Joseph commented on YARN-9369:
-------------------------------------

[~uranus] This will be fixed by YARN-9338.

> Yarn RM metrics test build failed
> ---------------------------------
>
>                 Key: YARN-9369
>                 URL: https://issues.apache.org/jira/browse/YARN-9369
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Zhaohui Xin
>            Priority: Major
>
> org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisherForV2.testPublishAppAttemptMetrics
>  
> {code:java}
> java.lang.AssertionError: Expected 2 events to be published expected:<2> but 
> was:<1>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:834)
>       at org.junit.Assert.assertEquals(Assert.java:645)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisherForV2.verifyEntity(TestSystemMetricsPublisherForV2.java:332)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisherForV2.testPublishAppAttemptMetrics(TestSystemMetricsPublisherForV2.java:259)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       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.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to