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

TestRMRestart/TestContainerResourceUsage/TestNodeManagerResync failure with allocation timeout

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: scheduler
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Noticed consistent tests failure, see:
      https://builds.apache.org/job/PreCommit-YARN-Build/6332//testReport/

      Logs like:

      Error Message
      
      Attempt state is not correct (timedout) expected:<ALLOCATED> but was:<SCHEDULED>
      Stacktrace
      
      java.lang.AssertionError: Attempt 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.MockRM.waitForState(MockRM.java:152)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testQueueMetricsOnRMRestart(TestRMRestart.java:1794)
      

      I can reproduce it in local environment.

        Attachments

        1. YARN-3064.1.patch
          4 kB
          Jian He
        2. YARN-3064.2.patch
          6 kB
          Jian He

          Issue Links

            Activity

              People

              • Assignee:
                jianhe Jian He
                Reporter:
                leftnoteasy Wangda Tan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: