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 "Tsuyoshi OZAWA (JIRA)" <ji...@apache.org> on 2014/06/11 19:05:01 UTC

[jira] [Commented] (YARN-2149) Test failed in TestRMAdminCLI

    [ https://issues.apache.org/jira/browse/YARN-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028022#comment-14028022 ] 

Tsuyoshi OZAWA commented on YARN-2149:
--------------------------------------

Thank you for reporting, [~wangda]. This problem has been filed as YARN-2075. Patch to fix is also available. Can we close this JIRA as duplicated one?

> Test failed in TestRMAdminCLI
> -----------------------------
>
>                 Key: YARN-2149
>                 URL: https://issues.apache.org/jira/browse/YARN-2149
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: client
>            Reporter: Wangda Tan
>
> I noticed there're two test failures in TestRMAdminCLI,
> 1) testHelp
> https://builds.apache.org/job/PreCommit-YARN-Build/3959//testReport/org.apache.hadoop.yarn.client/TestRMAdminCLI/testHelp/
> {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.TestRMAdminCLI.testError(TestRMAdminCLI.java:366)
> 	at org.apache.hadoop.yarn.client.TestRMAdminCLI.testHelp(TestRMAdminCLI.java:307)
> {code}
> This should be caused by "--forceactive" recently added to transitionToActive
> 2) testTransitionToActive
> https://builds.apache.org/job/PreCommit-YARN-Build/3959/testReport/junit/org.apache.hadoop.yarn.client/TestRMAdminCLI/testTransitionToActive/
> {code}
> java.lang.UnsupportedOperationException: null
> 	at java.util.AbstractList.remove(AbstractList.java:144)
> 	at java.util.AbstractList$Itr.remove(AbstractList.java:360)
> 	at java.util.AbstractCollection.remove(AbstractCollection.java:252)
> 	at org.apache.hadoop.ha.HAAdmin.isOtherTargetNodeActive(HAAdmin.java:173)
> 	at org.apache.hadoop.ha.HAAdmin.transitionToActive(HAAdmin.java:144)
> 	at org.apache.hadoop.ha.HAAdmin.runCmd(HAAdmin.java:447)
> 	at org.apache.hadoop.ha.HAAdmin.run(HAAdmin.java:380)
> 	at org.apache.hadoop.yarn.client.cli.RMAdminCLI.run(RMAdminCLI.java:318)
> 	at org.apache.hadoop.yarn.client.TestRMAdminCLI.testTransitionToActive(TestRMAdminCLI.java:180)
> {code}
> This is caused by ArrayList doesn't implement "remove" interface



--
This message was sent by Atlassian JIRA
(v6.2#6252)