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

TestRMAdminCLI consistently fail on trunk and branch-2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0, 3.0.0-alpha1
    • 2.5.0
    • None
    • None
    • Reviewed

    Description

      Running org.apache.hadoop.yarn.client.TestRMAdminCLI
      Tests run: 13, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 1.191 sec <<< FAILURE! - in org.apache.hadoop.yarn.client.TestRMAdminCLI
      testTransitionToActive(org.apache.hadoop.yarn.client.TestRMAdminCLI)  Time elapsed: 0.082 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.088 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)
      

      Attachments

        1. YARN-2075.patch
          3 kB
          Kenji Kikushima

        Issue Links

          Activity

            People

              kj-ki Kenji Kikushima
              zjshen Zhijie Shen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: