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

TestRMAdminCLI#testHelp fails for transitionToActive command

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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-v2.patch
          4 kB
          Junping Du
        2. YARN-3070.patch
          4 kB
          Junping Du

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: