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

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

The goal here is just to make the use of the Capacity Scheduler in the existing 
tests explicit, so that they will pass on distros that set other schedulers as 
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)

Reply via email to