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

TestRMAdminCLI#testTransitionToActive and testHelp fail on trunk

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      Two tests fail as following

      testTransitionToActive(org.apache.hadoop.yarn.client.TestRMAdminCLI)  Time elapsed: 0.105 sec  <<< ERROR!
      java.lang.UnsupportedOperationException: null
      	at java.util.AbstractList.remove(AbstractList.java:144)
      	at java.util.AbstractList$Itr.remove(AbstractList.java:360)
      	at java.util.AbstractCollection.remove(AbstractCollection.java:252)
      	at org.apache.hadoop.ha.HAAdmin.isOtherTargetNodeActive(HAAdmin.java:173)
      	at org.apache.hadoop.ha.HAAdmin.transitionToActive(HAAdmin.java:144)
      	at org.apache.hadoop.ha.HAAdmin.runCmd(HAAdmin.java:447)
      	at org.apache.hadoop.ha.HAAdmin.run(HAAdmin.java:380)
      	at org.apache.hadoop.yarn.client.cli.RMAdminCLI.run(RMAdminCLI.java:318)
      	at org.apache.hadoop.yarn.client.TestRMAdminCLI.testTransitionToActive(TestRMAdminCLI.java:180)
      
      testHelp(org.apache.hadoop.yarn.client.TestRMAdminCLI)  Time elapsed: 0.091 sec  <<< FAILURE!
      java.lang.AssertionError: null
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertTrue(Assert.java:52)
      	at org.apache.hadoop.yarn.client.TestRMAdminCLI.testError(TestRMAdminCLI.java:366)
      	at org.apache.hadoop.yarn.client.TestRMAdminCLI.testHelp(TestRMAdminCLI.java:307)
      
      
      Results :
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jianhe Jian He
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: