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

Junping Du resolved YARN-2365.
------------------------------
    Resolution: Cannot Reproduce

> TestAMRestart.testShouldNotCountFailureToMaxAttemptRetry fails on branch-2
> --------------------------------------------------------------------------
>
>                 Key: YARN-2365
>                 URL: https://issues.apache.org/jira/browse/YARN-2365
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Mit Desai
>
> TestAMRestart#testShouldNotCountFailureToMaxAttemptRetry fails on branch-2 
> with the following errror
> {noformat}
> Running 
> org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 46.471 sec 
> <<< FAILURE! - in 
> org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart
> testShouldNotCountFailureToMaxAttemptRetry(org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart)
>   Time elapsed: 46.354 sec  <<< FAILURE!
> java.lang.AssertionError: AppAttempt state is not correct (timedout) 
> expected:<ALLOCATED> but was:<SCHEDULED>
>       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.apache.hadoop.yarn.server.resourcemanager.MockAM.waitForState(MockAM.java:82)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.MockRM.sendAMLaunched(MockRM.java:414)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.MockRM.launchAM(MockRM.java:569)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.MockRM.launchAndRegisterAM(MockRM.java:576)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testShouldNotCountFailureToMaxAttemptRetry(TestAMRestart.java:389)
> {noformat}



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

Reply via email to