Repository: ambari
Updated Branches:
  refs/heads/trunk 9b8251797 -> ee374e94a


AMBARI-8111. Fix yarn site configs for RM HA and Node labelling. (mahadev)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ee374e94
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ee374e94
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ee374e94

Branch: refs/heads/trunk
Commit: ee374e94a2c413281a1f05fc1b083b294e408c83
Parents: 9b82517
Author: Mahadev Konar <[email protected]>
Authored: Sun Nov 2 12:48:37 2014 -0800
Committer: Mahadev Konar <[email protected]>
Committed: Sun Nov 2 12:49:25 2014 -0800

----------------------------------------------------------------------
 .../services/YARN/configuration/yarn-site.xml   | 27 +-------------------
 1 file changed, 1 insertion(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ee374e94/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/yarn-site.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/yarn-site.xml
 
b/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/yarn-site.xml
index f689955..7bd1e5a 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/yarn-site.xml
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/yarn-site.xml
@@ -93,31 +93,6 @@
     <description>ACL's to be used for ZooKeeper znodes.</description>
   </property>
   <property>
-    <name>yarn.resourcemanager.zk-state-store.root-node.acl</name>
-    <value> </value>
-    <description>
-      ACLs to be used for the root znode when using ZKRMStateStore in a HA
-      scenario for fencing.
-
-      ZKRMStateStore supports implicit fencing to allow a single
-      ResourceManager write-access to the store. For fencing, the
-      ResourceManagers in the cluster share read-write-admin privileges on the
-      root node, but the Active ResourceManager claims exclusive create-delete
-      permissions.
-
-      By default, when this property is not set, we use the ACLs from
-      yarn.resourcemanager.zk-acl for shared admin access and
-      rm-address:random-number for username-based exclusive create-delete
-      access.
-
-      This property allows users to set ACLs of their choice instead of using
-      the default mechanism. For fencing to work, the ACLs should be
-      carefully set differently on each ResourceManger such that all the
-      ResourceManagers have shared admin access and the Active ResourceManger
-      takes over (exclusively) the create-delete access.
-    </description>
-  </property>
-  <property>
     
<name>yarn.resourcemanager.work-preserving-recovery.scheduling-wait-ms</name>
     <value>10000</value>
     <description>Set the amount of time RM waits before allocating new 
containers on work-preserving-recovery. Such wait period gives RM a chance to 
settle down resyncing with NMs in the cluster on recovery, before assigning new 
containers to applications.</description>
@@ -203,7 +178,7 @@
   </property>
   <property>
     <name>yarn.node-labels.manager-class</name>
-    
<value>org.apache.hadoop.yarn.server.resourcemanager.nodelabels.RMNodeLabelsManager</value>
+    
<value>org.apache.hadoop.yarn.server.resourcemanager.nodelabels.MemoryRMNodeLabelsManager</value>
     <description>If user want to enable this feature, specify it to 
"org.apache.hadoop.yarn.server.resourcemanager.nodelabels.RMNodeLabelsManager</description>
   </property>
   <property>

Reply via email to