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

TestRMAdminCLI#testHelp fails for transitionToActive command

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • None
    • None
    • Reviewed

    Description

            testError(new String[] { "-help", "-transitionToActive" },
                "Usage: yarn rmadmin [-transitionToActive <serviceId>" +
                " [--forceactive]]", dataErr, 0);
      

      fails with:

      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.cli.TestRMAdminCLI.testError(TestRMAdminCLI.java:547)
      	at org.apache.hadoop.yarn.client.cli.TestRMAdminCLI.testHelp(TestRMAdminCLI.java:335)
      

      Attachments

        1. YARN-3070.patch
          4 kB
          Junping Du
        2. YARN-3070-v2.patch
          4 kB
          Junping Du

        Activity

          People

            junping_du Junping Du
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: