hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-3070) TestRMAdminCLI#testHelp fails for transitionToActive command
Date Sun, 18 Jan 2015 04:25:34 GMT

     [ 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)

Mime
View raw message