[ https://issues.apache.org/jira/browse/YARN-5815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15628987#comment-15628987 ]
Bibin A Chundatt commented on YARN-5815: ---------------------------------------- Thank you [~rohithsharma] for looking into issue. Earlier even before NM registration its was expecting one app to be activated.When cluster resource is zero the active application will be zero in current implementation. After NM is registered the number of active apps will be 2 and pending will be 1 . Missed out case that NODE_ADDED event yet to be processed by scheduler in testcase. > Random failure > TestApplicationPriority.testOrderOfActivatingThePriorityApplicationOnRMRestart > --------------------------------------------------------------------------------------------- > > Key: YARN-5815 > URL: https://issues.apache.org/jira/browse/YARN-5815 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Bibin A Chundatt > Assignee: Bibin A Chundatt > Attachments: YARN-5815.0001.patch > > > {noformat} > java.lang.AssertionError: expected:<2> but was:<0> > 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.junit.Assert.assertEquals(Assert.java:542) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testOrderOfActivatingThePriorityApplicationOnRMRestart(TestApplicationPriority.java:707) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org