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] [Updated] (YARN-6454) Add support for setting environment variables for docker containers
Date Thu, 06 Apr 2017 14:57:41 GMT

     [ https://issues.apache.org/jira/browse/YARN-6454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jaeboo Jeong updated YARN-6454:
-------------------------------
    Attachment: YARN-6454.001.patch

> 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
>         Attachments: YARN-6454.001.patch
>
>
> 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