Forráskód Böngészése

AMBARI-7996. Remove zk quorum from slider config

Sumit Mohanty 10 éve
szülő
commit
9c024238fc

+ 37 - 28
ambari-server/src/main/resources/stacks/HDP/2.2/services/SLIDER/configuration/slider-client.xml

@@ -20,32 +20,41 @@
  */
  */
 -->
 -->
 <configuration supports_final="true">
 <configuration supports_final="true">
-  <property>
-    <name>slider.zookeeper.quorum</name>
-    <value>localhost:2181</value>
-    <description>ZK quorum</description>
-  </property>
-  <!--<property>
-    <name>yarn.resourcemanager.address</name>
-    <value>localhost:8050</value>
-    <description>The address of the applications manager interface in the RM.</description>
-  </property>
-  <property>
-    <name>yarn.resourcemanager.scheduler.address</name>
-    <value>localhost:8030</value>
-    <description>The address of the scheduler interface.</description>
-  </property>
-  <property>
-    <name>yarn.application.classpath</name>
-    <value>
-      /etc/hadoop/conf,/usr/lib/hadoop/*,/usr/lib/hadoop/lib/*,/usr/lib/hadoop-hdfs/*,/usr/lib/hadoop-hdfs/lib/*,/usr/lib/hadoop-yarn/*,/usr/lib/hadoop-yarn/lib/*,/usr/lib/hadoop-mapreduce/*,/usr/lib/hadoop-mapreduce/lib/*
-    </value>
-    <description>Default application classpath.</description>
-  </property>
-  <property>
-    <name>fs.defaultFS</name>
-    <value>hdfs://localhost:8020</value>
-    <description>The name of the default file system.  Either the
-      literal string "local" or a host:port for NDFS.</description>
-  </property>-->
+
+  <!--
+    <property>
+      <name>slider.security.protocol.acl</name>
+      <value>*</value>
+      <description>When security is enabled, set appropriate acl. Default value means allow everyone.</description>
+    </property>
+    -->
+
+  <!--
+     The recommended approach is to configure slider-env.sh and set HADOOP_CONF_DIR.
+     Otherwise, appropriate configurations from hdfs-site, yarn-site, can be dropped in this file
+     for Slider client to work. The following list is not an exhaustive list but the minimal config
+     needed to interact with a non-secure cluster.
+  -->
+
+  <!--
+      <property>
+        <name>yarn.resourcemanager.address</name>
+        <value>localhost:8050</value>
+        <description>The address of the applications manager interface in the RM.</description>
+      </property>
+
+      <property>
+        <name>yarn.resourcemanager.scheduler.address</name>
+        <value>localhost:8030</value>
+        <description>The address of the scheduler interface.</description>
+      </property>
+
+      <property>
+        <name>fs.defaultFS</name>
+        <value>hdfs://localhost:8020</value>
+        <description>The name of the default file system.  Either the
+          literal string "local" or a host:port for NDFS.</description>
+      </property>
+    -->
+
 </configuration>
 </configuration>