hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane Kumpf (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-8029) YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS should not use commas as separators
Date Wed, 14 Mar 2018 19:05:00 GMT

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

Shane Kumpf commented on YARN-8029:
-----------------------------------

Thanks for reporting this [~Jim_Brennan]. I was aware of this limitation and I did consider
just using other delimiters, but comma seems most appropriate for a list. I had opened YARN-6830
to address supporting commas within quoted strings for this use case. Unfortunately, it took
a different direction and I haven't had a chance to revisit. If you have any interest in taking
that up, I think it is likely a better fix than changing the delimiter, but I'm open to using
a different delimiter if there is a strong opinion in favor of that.

> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message