You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2017/05/30 18:29:42 UTC

[20/50] [abbrv] ambari git commit: AMBARI-21011. Append PATH to YARN config 'yarn.nodemanager.admin-env' for HDP 2.6.

AMBARI-21011. Append PATH to YARN config 'yarn.nodemanager.admin-env' for HDP 2.6.


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

Branch: refs/heads/branch-feature-AMBARI-20859
Commit: 6e4331e92f6b42fab3d36ea64df42019ae73e715
Parents: ec6e940
Author: Swapan Shridhar <ss...@hortonworks.com>
Authored: Fri May 12 19:27:52 2017 -0700
Committer: Swapan Shridhar <ss...@hortonworks.com>
Committed: Fri May 12 19:27:52 2017 -0700

----------------------------------------------------------------------
 .../HDP/2.6/services/YARN/configuration/yarn-site.xml       | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6e4331e9/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
index c434c12..6aa0bae 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
@@ -101,4 +101,13 @@
     </depends-on>
     <on-ambari-upgrade add="false"/>
   </property>
+  <property>
+    <name>yarn.nodemanager.admin-env</name>
+    <value>MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX,PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:$PATH</value>
+    <description>
+      Environment variables that should be forwarded from the NodeManager's
+      environment to the container's.
+    </description>
+    <on-ambari-upgrade add="false"/>
+  </property>
 </configuration>