Repository: ambari Updated Branches: refs/heads/branch-2.5 4d968227e -> a8e1a0d63
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/a8e1a0d6 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a8e1a0d6 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a8e1a0d6 Branch: refs/heads/branch-2.5 Commit: a8e1a0d63f3f50e2839eb33d6378cd7aa0b634db Parents: 4d96822 Author: Swapan Shridhar <[email protected]> Authored: Fri May 12 19:20:07 2017 -0700 Committer: Swapan Shridhar <[email protected]> Committed: Fri May 12 19:22:08 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/a8e1a0d6/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>
