Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1468

TestRMRestart.testRMRestartWaitForPreviousAMToFinish get failed.

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • resourcemanager
    • None

    Description

      Log is as following:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              junping_du Junping Du
              junping_du Junping Du
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: