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

Takashi Ohnishi commented on YARN-4613:
---------------------------------------

Thank you, Rohith Sharma K S for taking a look!

Yeah, it seems better to do status check just after the heartbeat.
I will attach updated patch.


> TestClientRMService#testGetClusterNodes fails occasionally
> ----------------------------------------------------------
>
>                 Key: YARN-4613
>                 URL: https://issues.apache.org/jira/browse/YARN-4613
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: test
>         Environment: jenkins
>            Reporter: Jason Lowe
>            Assignee: Takashi Ohnishi
>         Attachments: YARN-4613.1.patch
>
>
> TestClientRMService has been failing occasionally on precommits.  Sample 
> failure:
> {noformat}
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=768m; 
> support was removed in 8.0
> Running org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService
> Tests run: 19, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.077 sec 
> <<< FAILURE! - in 
> org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService
> testGetClusterNodes(org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService)
>   Time elapsed: 0.551 sec  <<< FAILURE!
> java.lang.AssertionError: Unhealthy nodes should not show up by default 
> expected:<0> but was:<1>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:555)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.TestClientRMService.testGetClusterNodes(TestClientRMService.java:215)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to