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 "Mit Desai (JIRA)" <ji...@apache.org> on 2014/04/07 17:44:16 UTC

[jira] [Updated] (YARN-1906) TestRMRestart#testQueueMetricsOnRMRestart fails intermittently on trunk and branch2

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

Mit Desai updated YARN-1906:
----------------------------

    Attachment: YARN-1906.patch

When the App is sbmitted using {{rm1.submitApp(200);}}, it does not instantly add the app to the pending state. So we need to wait until the app is in the pending state before verifying by {{assertQueueMetrics(qm1, 1, 1, 0, 0);}}

Attaching the patch for trunk and branch2

> TestRMRestart#testQueueMetricsOnRMRestart fails intermittently on trunk and branch2
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-1906
>                 URL: https://issues.apache.org/jira/browse/YARN-1906
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Mit Desai
>            Assignee: Mit Desai
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: YARN-1906.patch
>
>
> Here is the output of the format
> {noformat}
> testQueueMetricsOnRMRestart(org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart)  Time elapsed: 9.757 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<2> but was:<1>
> 	at org.junit.Assert.fail(Assert.java:93)
> 	at org.junit.Assert.failNotEquals(Assert.java:647)
> 	at org.junit.Assert.assertEquals(Assert.java:128)
> 	at org.junit.Assert.assertEquals(Assert.java:472)
> 	at org.junit.Assert.assertEquals(Assert.java:456)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.assertQueueMetrics(TestRMRestart.java:1735)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testQueueMetricsOnRMRestart(TestRMRestart.java:1706)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)