hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2483) TestAMRestart#testShouldNotCountFailureToMaxAttemptRetry fails due to incorrect AppAttempt state
Date Sat, 30 Aug 2014 15:54:53 GMT

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

Tsuyoshi OZAWA commented on YARN-2483:
--------------------------------------

Hmm, I misread the log. SCHEDULED is before ALLOCATED, and the comment as I described is not
related to this case.

> TestAMRestart#testShouldNotCountFailureToMaxAttemptRetry fails due to incorrect AppAttempt
state
> ------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2483
>                 URL: https://issues.apache.org/jira/browse/YARN-2483
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Ted Yu
>
> From https://builds.apache.org/job/Hadoop-Yarn-trunk/665/console :
> {code}
> testShouldNotCountFailureToMaxAttemptRetry(org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart)
 Time elapsed: 49.686 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:84)
> 	at org.apache.hadoop.yarn.server.resourcemanager.MockRM.sendAMLaunched(MockRM.java:417)
> 	at org.apache.hadoop.yarn.server.resourcemanager.MockRM.launchAM(MockRM.java:582)
> 	at org.apache.hadoop.yarn.server.resourcemanager.MockRM.launchAndRegisterAM(MockRM.java:589)
> 	at org.apache.hadoop.yarn.server.resourcemanager.MockRM.waitForNewAMToLaunchAndRegister(MockRM.java:182)
> 	at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testShouldNotCountFailureToMaxAttemptRetry(TestAMRestart.java:402)
> {code}
> TestApplicationMasterLauncher#testallocateBeforeAMRegistration fails with similar cause.
> These tests failed in build #664 as well.



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

Mime
View raw message