hadoop-yarn-issues mailing list archives

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

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

Karthik Kambatla commented on YARN-1846:
----------------------------------------

Thanks Robert. Just committed this to trunk, branch-2 and branch-2.4.

> 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