hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy Ryza (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1760) TestRMAdminService assumes the use of CapacityScheduler
Date Tue, 25 Feb 2014 01:50:19 GMT

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

Sandy Ryza commented on YARN-1760:
----------------------------------

I assume that YARN-1679 will have "conf.setClass(YarnConfiguration.RM_SCHEDULER_CLASS, FairScheduler.class)"
in the FS-specific tests that it adds.  This JIRA adds the same to the CS-specific tests.
 In some other JIRAs, I've tried to make it so that certain tests pass independent of whether
the Fair or Capacity scheduler is used. But the goal with this patch is just to make the dependency
of the existing tests on the Capacity Scheduler explicit so that it will override a non-CS
default.

> TestRMAdminService assumes the use of CapacityScheduler
> -------------------------------------------------------
>
>                 Key: YARN-1760
>                 URL: https://issues.apache.org/jira/browse/YARN-1760
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>            Priority: Trivial
>              Labels: test
>         Attachments: yarn-1760-1.patch, yarn-1760-2.patch
>
>
> YARN-1611 adds TestRMAdminService which assumes the use of CapacityScheduler. 
> {noformat}
> java.lang.ClassCastException: org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler
cannot be cast to org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService.testAdminRefreshQueuesWithFileSystemBasedConfigurationProvider(TestRMAdminService.java:115)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message