hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7311) Fix TestRMWebServicesReservation parametrization for fair scheduler
Date Tue, 17 Oct 2017 19:55:01 GMT

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

Hudson commented on YARN-7311:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13099 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13099/])
YARN-7311. Fix TestRMWebServicesReservation parametrization for fair (subu: rev 75323394fbc4211596a2c8fbb5e584f3183f742f)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebServicesReservation.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/reservation/FairReservationSystem.java


> Fix TestRMWebServicesReservation parametrization for fair scheduler
> -------------------------------------------------------------------
>
>                 Key: YARN-7311
>                 URL: https://issues.apache.org/jira/browse/YARN-7311
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: fairscheduler, reservation system
>            Reporter: Yufei Gu
>            Assignee: Yufei Gu
>             Fix For: 2.9.0, 3.0.0, 3.1.0
>
>         Attachments: YARN-7311.001.patch, YARN-7311.002.patch, YARN-7311.WIP.patch
>
>
> YARN-4248 introduced the REST API for submit/update/delete Reservations. Class {{TestRMWebServicesReservation}}
intends to test both FS and CS. The test cases designed for fair scheduler actually test capacity
scheduler. The following code in method {{configureServlets}} shows it sets the scheduler
to CS even test cases are for fair scheduler.
> {code}
>       conf.setClass(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class,
>           ResourceScheduler.class);
>       CapacitySchedulerConfiguration csconf =
>           new CapacitySchedulerConfiguration(conf);
>       String[] queues = { "default", "dedicated" };
>       csconf.setQueues("root", queues);
>       csconf.setCapacity("root.default", 50.0f);
>       csconf.setCapacity("root.dedicated", 50.0f);
>       csconf.setReservable("root.dedicated", true);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message