Ver Fonte

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
Siddharth Seth há 12 anos atrás
pai
commit
db51b03d72

+ 3 - 0
hadoop-yarn-project/CHANGES.txt

@@ -46,6 +46,9 @@ Release 2.0.3-alpha - Unreleased
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
   BUG FIXES
   BUG FIXES
+    
+    YARN-131. Fix incorrect ACL properties in capacity scheduler documentation.
+    (Ahmed Radwan via sseth)
 
 
 Release 2.0.2-alpha - 2012-09-07 
 Release 2.0.2-alpha - 2012-09-07 
 
 

+ 2 - 11
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/resources/capacity-scheduler.xml

@@ -68,7 +68,7 @@
   </property>
   </property>
 
 
   <property>
   <property>
-    <name>yarn.scheduler.capacity.root.default.acl_submit_jobs</name>
+    <name>yarn.scheduler.capacity.root.default.acl_submit_applications</name>
     <value>*</value>
     <value>*</value>
     <description>
     <description>
       The ACL of who can submit jobs to the default queue.
       The ACL of who can submit jobs to the default queue.
@@ -76,22 +76,13 @@
   </property>
   </property>
 
 
   <property>
   <property>
-    <name>yarn.scheduler.capacity.root.default.acl_administer_jobs</name>
+    <name>yarn.scheduler.capacity.root.default.acl_administer_queue</name>
     <value>*</value>
     <value>*</value>
     <description>
     <description>
       The ACL of who can administer jobs on the default queue.
       The ACL of who can administer jobs on the default queue.
     </description>
     </description>
   </property>
   </property>
 
 
-  <property>
-    <name>yarn.scheduler.capacity.root.acl_administer_queues</name>
-    <value>*</value>
-    <description>
-      The ACL for who can administer this queue i.e. change sub-queue 
-      allocations.
-    </description>
-  </property>
-
   <property>
   <property>
     <name>yarn.scheduler.capacity.node-locality-delay</name>
     <name>yarn.scheduler.capacity.node-locality-delay</name>
     <value>-1</value>
     <value>-1</value>

+ 6 - 6
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 
 | | Existing applications continue to completion, thus the queue can be 
 | | <drained> gracefully. | 
 | | <drained> gracefully. | 
 *--------------------------------------+--------------------------------------+
 *--------------------------------------+--------------------------------------+
-| <<<yarn.scheduler.capacity.root.<queue-path>.acl_submit_jobs>>> | |
-| | The <ACL> which controls who can <submit> jobs to the given queue. |
+| <<<yarn.scheduler.capacity.root.<queue-path>.acl_submit_applications>>> | |
+| | The <ACL> which controls who can <submit> applications to the given queue. |
 | | If the given user/group has necessary ACLs on the given queue or |
 | | If the given user/group has necessary ACLs on the given queue or |
-| | <one of the parent queues in the hierarchy> they can submit jobs. |
+| | <one of the parent queues in the hierarchy> they can submit applications. |
 | | <ACLs> for this property <are> inherited from the parent queue |
 | | <ACLs> for this property <are> inherited from the parent queue |
 | | if not specified. |
 | | if not specified. |
 *--------------------------------------+--------------------------------------+
 *--------------------------------------+--------------------------------------+
-| <<<yarn.scheduler.capacity.root.<queue-path>.acl_administer_jobs>>> | |
-| | The <ACL> which controls who can <administer> jobs on the given queue. |
+| <<<yarn.scheduler.capacity.root.<queue-path>.acl_administer_queue>>> | |
+| | The <ACL> which controls who can <administer> applications on the given queue. |
 | | If the given user/group has necessary ACLs on the given queue or |
 | | If the given user/group has necessary ACLs on the given queue or |
-| | <one of the parent queues in the hierarchy> they can administer jobs. |
+| | <one of the parent queues in the hierarchy> they can administer applications. |
 | | <ACLs> for this property <are> inherited from the parent queue |
 | | <ACLs> for this property <are> inherited from the parent queue |
 | | if not specified. |
 | | if not specified. |
 *--------------------------------------+--------------------------------------+
 *--------------------------------------+--------------------------------------+