[ 
https://issues.apache.org/jira/browse/YARN-8029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399006#comment-16399006
 ] 

Jim Brennan commented on YARN-8029:
-----------------------------------

There was a related discussion in [HADOOP-11640] about allowing the user to 
specify an alternate delimiter or adding an escaping mechanism.

I think in this case, the better solution would be to change the docker runtime 
environment variables to use a different separator -  semicolon, or pipe, or 
something else.

> YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS should not use commas as separators
> ------------------------------------------------------------------------
>
>                 Key: YARN-8029
>                 URL: https://issues.apache.org/jira/browse/YARN-8029
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 3.0.0
>            Reporter: Jim Brennan
>            Priority: Major
>
> The following docker-related environment variables specify a comma-separated 
> list of mounts:
> YARN_CONTAINER_RUNTIME_DOCKER_LOCAL_RESOURCE_MOUNTS
> YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS
> This is a problem because hadoop -Dmapreduce.map.env and related options use  
> comma as a delimiter.   So if I put more than one mount in 
> YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS the comma in the variable will be 
> treated as a delimiter for the hadoop command line option and all but the 
> first mount will be ignored.



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

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

Reply via email to