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

TestAMRestart.testShouldNotCountFailureToMaxAttemptRetry fails on branch-2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 2.5.0
    • None
    • None
    • None

    Description

      TestAMRestart#testShouldNotCountFailureToMaxAttemptRetry fails on branch-2 with the following errror

      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)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mitdesai Mit Desai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: