Ver Fonte

AMBARI-3341. YARN configuration names changed - modify stack definition to reflect the change.

Sumit Mohanty há 12 anos atrás
pai
commit
bd0b800efb

+ 2 - 2
ambari-server/src/main/python/UpgradeHelper_HDP2.py

@@ -264,8 +264,8 @@ YARN_SITE = {
   "yarn.log.server.url": "http://REPLACE_JH_HOST:19888/jobhistory/logs",
   "yarn.nodemanager.address": "0.0.0.0:45454",
   "yarn.nodemanager.admin-env": "MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX",
-  "yarn.nodemanager.aux-services": "mapreduce.shuffle",
-  "yarn.nodemanager.aux-services.mapreduce.shuffle.class": "org.apache.hadoop.mapred.ShuffleHandler",
+  "yarn.nodemanager.aux-services": "mapreduce_shuffle",
+  "yarn.nodemanager.aux-services.mapreduce_shuffle.class": "org.apache.hadoop.mapred.ShuffleHandler",
   "yarn.nodemanager.container-executor.class": "org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor",
   "yarn.nodemanager.container-monitor.interval-ms": "3000",
   "yarn.nodemanager.delete.debug-delay-sec": "0",

+ 4 - 3
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/configuration/yarn-site.xml

@@ -130,12 +130,13 @@
  
   <property>
     <name>yarn.nodemanager.aux-services</name>
-    <value>mapreduce.shuffle</value>
-    <description>Auxilliary services of NodeManager</description>
+    <value>mapreduce_shuffle</value>
+    <description>Auxilliary services of NodeManager. A valid service name should only contain a-zA-Z0-9_ and can
+      not start with numbers</description>
   </property>
 
   <property>
-    <name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name>
+    <name>yarn.nodemanager.aux-services.mapreduce_shuffle.class</name>
     <value>org.apache.hadoop.mapred.ShuffleHandler</value>
   </property>
 

+ 5 - 4
ambari-server/src/main/resources/stacks/HDPLocal/2.0.6/services/YARN/configuration/yarn-site.xml

@@ -127,15 +127,16 @@
     <value>hadoop</value>
     <description>Unix group of the NodeManager</description>
   </property>
- 
+
   <property>
     <name>yarn.nodemanager.aux-services</name>
-    <value>mapreduce.shuffle</value>
-    <description>Auxilliary services of NodeManager</description>
+    <value>mapreduce_shuffle</value>
+    <description>Auxilliary services of NodeManager. A valid service name should only contain a-zA-Z0-9_ and can
+      not start with numbers</description>
   </property>
 
   <property>
-    <name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name>
+    <name>yarn.nodemanager.aux-services.mapreduce_shuffle.class</name>
     <value>org.apache.hadoop.mapred.ShuffleHandler</value>
   </property>