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

TestRMRestart/TestContainerResourceUsage/TestNodeManagerResync failure with allocation timeout

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.7.0
    • scheduler
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment