YARN-6694. Add certain envs to the default yarn.nodemanager.env-whitelist. Contributed by Jian He

This commit is contained in:
Xuan 2017-06-29 20:10:35 -07:00
parent af2773f609
commit 3be2659f83

View File

@ -1013,7 +1013,7 @@
<property> <property>
<description>Environment variables that containers may override rather than use NodeManager's default.</description> <description>Environment variables that containers may override rather than use NodeManager's default.</description>
<name>yarn.nodemanager.env-whitelist</name> <name>yarn.nodemanager.env-whitelist</name>
<value>JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,CLASSPATH_PREPEND_DISTCACHE,HADOOP_YARN_HOME</value> <value>JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,CLASSPATH_PREPEND_DISTCACHE,HADOOP_YARN_HOME,HADOOP_HOME,PATH,LANG,TZ</value>
</property> </property>
<property> <property>