You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2014/03/18 01:44:44 UTC

[jira] [Created] (YARN-1846) TestRM.testNMTokenSentForNormalContainer assumes CapacityScheduler

Robert Kanter created YARN-1846:
-----------------------------------

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


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)