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

Reply via email to