hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2149) Test failed in TestRMAdminCLI
Date Wed, 11 Jun 2014 17:09:01 GMT

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

Wangda Tan commented on YARN-2149:
----------------------------------

[~ozawa], thanks for pointing this, I'll close this 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)

Mime
View raw message