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 "Eric Badger (JIRA)" <ji...@apache.org> on 2016/07/27 19:52:20 UTC

[jira] [Comment Edited] (YARN-1468) TestRMRestart.testRMRestartWaitForPreviousAMToFinish get failed.

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

Eric Badger edited comment on YARN-1468 at 7/27/16 7:51 PM:
------------------------------------------------------------

[~djp], you are correct. When I encountered the error in a test failure it was in the place as I explained it above. However, that failure is a different one than the stack trace that [~mitdesai] included. I thought that they were the same based on the overall structure of the exception, but that is not the case. I should've added my own stack trace to make that clear on this jira and to myself. I think that both point to issues, however. I've seen this test fail in a multitude of different ways.


was (Author: ebadger):
[~djp], you are correct. When I encountered the error in a test failure it was in the place as I explained it above. However, that failure is a different one than the stack trace that [~mitdesai] included. I should've included my own stack trace to make that point clear. I think that both point to issues, however. I've seen this test fail in a multitude of different ways.

> TestRMRestart.testRMRestartWaitForPreviousAMToFinish get failed.
> ----------------------------------------------------------------
>
>                 Key: YARN-1468
>                 URL: https://issues.apache.org/jira/browse/YARN-1468
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: resourcemanager
>            Reporter: Junping Du
>            Assignee: Junping Du
>            Priority: Critical
>
> Log is as following:
> {code}
> Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 149.968 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart
> testRMRestartWaitForPreviousAMToFinish(org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart)  Time elapsed: 44.197 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: AppAttempt state is not correct (timedout) expected:<ALLOCATED> but was:<SCHEDULED>
>         at junit.framework.Assert.fail(Assert.java:50)
>         at junit.framework.Assert.failNotEquals(Assert.java:287)
>         at junit.framework.Assert.assertEquals(Assert.java:67)
>         at org.apache.hadoop.yarn.server.resourcemanager.MockAM.waitForState(MockAM.java:82)
>         at org.apache.hadoop.yarn.server.resourcemanager.MockRM.sendAMLaunched(MockRM.java:292)
>         at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.launchAM(TestRMRestart.java:826)
>         at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartWaitForPreviousAMToFinish(TestRMRestart.java:464)
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org