YARN-6694. Add certain envs to the default yarn.nodemanager.env-whitelist. Contributed by Jian He
This commit is contained in:
parent
af2773f609
commit
3be2659f83
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user