You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Wangda Tan (JIRA)" <ji...@apache.org> on 2018/06/12 02:37:00 UTC

[jira] [Created] (YARN-8417) Should skip passing HDFS_HOME, HADOOP_CONF_DIR, JAVA_HOME, etc. to Docker container.

Wangda Tan created YARN-8417:
--------------------------------

             Summary: Should skip passing HDFS_HOME, HADOOP_CONF_DIR, JAVA_HOME, etc. to Docker container.
                 Key: YARN-8417
                 URL: https://issues.apache.org/jira/browse/YARN-8417
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Wangda Tan


Currently, YARN NM passes JAVA_HOME, HDFS_HOME, CLASSPATH environments before launching Docker container no matter if ENTRY_POINT is used or not. This will overwrite environments defined inside Dockerfile (by using \{{ENV}}). For Docker container, it actually doesn't make sense to pass JAVA_HOME, HDFS_HOME, etc. because inside docker image we have a separate Java/Hadoop installed or mounted to exactly same directory of host machine.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org