You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Junping Du (JIRA)" <ji...@apache.org> on 2015/01/18 05:25:34 UTC

[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 [~tedyu@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)