[jira] [Updated] (YARN-3070) TestRMAdminCLI#testHelp fails for transitionToActive command
[ https://issues.apache.org/jira/browse/YARN-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junping Du updated YARN-3070: - Hadoop Flags: Reviewed Thanks [~hitliuyi] for review. Committing v2 patch in. TestRMAdminCLI#testHelp fails for transitionToActive command Key: YARN-3070 URL: https://issues.apache.org/jira/browse/YARN-3070 Project: Hadoop YARN Issue Type: Test Reporter: Ted Yu Assignee: Junping Du Priority: Minor Attachments: YARN-3070-v2.patch, YARN-3070.patch {code} testError(new String[] { -help, -transitionToActive }, Usage: yarn rmadmin [-transitionToActive serviceId + [--forceactive]], dataErr, 0); {code} fails with: {code} 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) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (YARN-3070) TestRMAdminCLI#testHelp fails for transitionToActive command
[ https://issues.apache.org/jira/browse/YARN-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junping Du updated YARN-3070: - Attachment: YARN-3070-v2.patch Fix a typo of String.format() which cause the test failure. TestRMAdminCLI#testHelp fails for transitionToActive command Key: YARN-3070 URL: https://issues.apache.org/jira/browse/YARN-3070 Project: Hadoop YARN Issue Type: Test Reporter: Ted Yu Assignee: Junping Du Priority: Minor Attachments: YARN-3070-v2.patch, YARN-3070.patch {code} testError(new String[] { -help, -transitionToActive }, Usage: yarn rmadmin [-transitionToActive serviceId + [--forceactive]], dataErr, 0); {code} fails with: {code} 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) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (YARN-3070) TestRMAdminCLI#testHelp fails for transitionToActive command
[ https://issues.apache.org/jira/browse/YARN-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junping Du updated YARN-3070: - Attachment: YARN-3070.patch Thanks [~te...@apache.org] for reporting this. Deliver a quick patch to fix it. Also, add more info when checking Assert. TestRMAdminCLI#testHelp fails for transitionToActive command Key: YARN-3070 URL: https://issues.apache.org/jira/browse/YARN-3070 Project: Hadoop YARN Issue Type: Test Reporter: Ted Yu Assignee: Junping Du Priority: Minor Attachments: YARN-3070.patch {code} testError(new String[] { -help, -transitionToActive }, Usage: yarn rmadmin [-transitionToActive serviceId + [--forceactive]], dataErr, 0); {code} fails with: {code} 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) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)