hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1846) TestRM.testNMTokenSentForNormalContainer assumes CapacityScheduler
Date Tue, 18 Mar 2014 00:52:42 GMT

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

Robert Kanter updated YARN-1846:
--------------------------------

    Attachment: YARN-1846.patch

The patch explicitly sets the Scheduler for the test to the 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