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] [Updated] (YARN-1846) TestRM#testNMTokenSentForNormalContainer assumes CapacityScheduler
Date Tue, 18 Mar 2014 06:48:46 GMT

     [ https://issues.apache.org/jira/browse/YARN-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karthik Kambatla updated YARN-1846:
-----------------------------------

    Summary: TestRM#testNMTokenSentForNormalContainer assumes CapacityScheduler  (was: TestRM.testNMTokenSentForNormalContainer
assumes CapacityScheduler)

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