From db51b03d7220a5396945f83cf03eb0f2fb8a9456 Mon Sep 17 00:00:00 2001 From: Siddharth Seth Date: Wed, 3 Oct 2012 02:56:20 +0000 Subject: [PATCH] YARN-131. Fix incorrect ACL properties in capacity scheduler documentation. (Contributed by Ahmed Radwan) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1393262 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../src/main/resources/capacity-scheduler.xml | 13 ++----------- .../src/site/apt/CapacityScheduler.apt.vm | 12 ++++++------ 3 files changed, 11 insertions(+), 17 deletions(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 448884d7555..580f89f274a 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -46,6 +46,9 @@ Release 2.0.3-alpha - Unreleased OPTIMIZATIONS BUG FIXES + + YARN-131. Fix incorrect ACL properties in capacity scheduler documentation. + (Ahmed Radwan via sseth) Release 2.0.2-alpha - 2012-09-07 diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml index 9de7989d809..65ef0a2394b 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml @@ -68,7 +68,7 @@ - yarn.scheduler.capacity.root.default.acl_submit_jobs + yarn.scheduler.capacity.root.default.acl_submit_applications * The ACL of who can submit jobs to the default queue. @@ -76,22 +76,13 @@ - yarn.scheduler.capacity.root.default.acl_administer_jobs + yarn.scheduler.capacity.root.default.acl_administer_queue * The ACL of who can administer jobs on the default queue. - - yarn.scheduler.capacity.root.acl_administer_queues - * - - The ACL for who can administer this queue i.e. change sub-queue - allocations. - - - yarn.scheduler.capacity.node-locality-delay -1 diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/CapacityScheduler.apt.vm b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/CapacityScheduler.apt.vm index dbd213ac173..58123cf9254 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/CapacityScheduler.apt.vm +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/CapacityScheduler.apt.vm @@ -278,17 +278,17 @@ Hadoop MapReduce Next Generation - Capacity Scheduler | | Existing applications continue to completion, thus the queue can be | | gracefully. | *--------------------------------------+--------------------------------------+ -| <<.acl_submit_jobs>>> | | -| | The which controls who can jobs to the given queue. | +| <<.acl_submit_applications>>> | | +| | The which controls who can applications to the given queue. | | | If the given user/group has necessary ACLs on the given queue or | -| | they can submit jobs. | +| | they can submit applications. | | | for this property inherited from the parent queue | | | if not specified. | *--------------------------------------+--------------------------------------+ -| <<.acl_administer_jobs>>> | | -| | The which controls who can jobs on the given queue. | +| <<.acl_administer_queue>>> | | +| | The which controls who can applications on the given queue. | | | If the given user/group has necessary ACLs on the given queue or | -| | they can administer jobs. | +| | they can administer applications. | | | for this property inherited from the parent queue | | | if not specified. | *--------------------------------------+--------------------------------------+