hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaeboo Jeong (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-6454) Add support for setting environment variables for docker containers
Date Thu, 06 Apr 2017 14:56:41 GMT
Jaeboo Jeong created YARN-6454:
----------------------------------

             Summary: Add support for setting environment variables for docker containers
                 Key: YARN-6454
                 URL: https://issues.apache.org/jira/browse/YARN-6454
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: nodemanager
            Reporter: Jaeboo Jeong


Docker allows to set environment variables for your containers with the -e flag.
You can set environment variables like below.

{code}
YARN_CONTAINER_RUNTIME_DOCKER_ENVIRONMENT_VARIABLES=“HADOOP_CONF_DIR=$HADOOP_CONF_DIR,HADOOP_HDFS_HOME=/opt/hadoop"
{code}

If you want to set a list of values, apply YARN-6434 first.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message