hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1846) TestRM#testNMTokenSentForNormalContainer assumes CapacityScheduler
Date Tue, 18 Mar 2014 13:55:47 GMT

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

Hudson commented on YARN-1846:
------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk #1705 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1705/])
YARN-1846. TestRM#testNMTokenSentForNormalContainer assumes CapacityScheduler. (Robert Kanter
via kasha) (kasha: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1578763)
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRM.java


> TestRM#testNMTokenSentForNormalContainer assumes CapacityScheduler
> ------------------------------------------------------------------
>
>                 Key: YARN-1846
>                 URL: https://issues.apache.org/jira/browse/YARN-1846
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>             Fix For: 2.4.0
>
>         Attachments: YARN-1846.patch
>
>
> TestRM.testNMTokenSentForNormalContainer assumes the CapacityScheduler is being used
and tries to do:
> {code:java}
> CapacityScheduler cs = (CapacityScheduler) rm.getResourceScheduler();
> {code}
> This throws a {{ClassCastException}} if you're not using the CapacityScheduler.



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

Mime
View raw message