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

TestNodeBlacklistingOnAMFailures fails on trunk

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Running org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures
      Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.28 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures
      testNodeBlacklistingOnAMFailure(org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures)  Time elapsed: 0.241 sec  <<< FAILURE!
      java.lang.AssertionError: AppAttemptState should still be SCHEDULED if currentNode is blacklisted correctly expected:<SCHEDULED> but was:<ALLOCATED>
      	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.TestNodeBlacklistingOnAMFailures.testNodeBlacklistingOnAMFailure(TestNodeBlacklistingOnAMFailures.java:110)
      
      java.lang.AssertionError: After blacklisting, AM should have run on the other node expected:<127.0.0.2:2345> but was:<127.0.0.1:1234>
      	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.TestNodeBlacklistingOnAMFailures.testNodeBlacklistingOnAMFailure(TestNodeBlacklistingOnAMFailures.java:131)
      

      https://builds.apache.org/job/PreCommit-YARN-Build/12840/testReport/

        Attachments

        1. YARN-5544.001.patch
          4 kB
          Sunil G
        2. YARN-5544.002.patch
          2 kB
          Rohith Sharma K S

          Activity

            People

            • Assignee:
              sunilg Sunil G
              Reporter:
              varun_saxena Varun Saxena
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: