[
https://issues.apache.org/jira/browse/YARN-8380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16549903#comment-16549903
]
Eric Badger commented on YARN-8380:
-----------------------------------
{quote}
That's how it works before this patch. Previously there were rw-mounts and
ro-mounts fields in the command file, so the mount mode was implicitly
specified in the field name. After this patch, there is a mounts field in the
command file, and the mode is explicitly specified for each mount. So the
implementation has changed, but the behavior hasn't (except to allow more
modes).
{quote}
Hmm I suppose you're right. I keep going backwards between trunk and 2.9 so I
mix these things up. I suppose that's not the worst thing in the world. I think
it's more intuitive for a user to specify a source and destination than
additionally having to set a mode (especially since docker already implies the
mode if you don't give it one). If the error message is good enough, though, it
should be fine.
> Support shared mounts in docker runtime
> ---------------------------------------
>
> Key: YARN-8380
> URL: https://issues.apache.org/jira/browse/YARN-8380
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Billie Rinaldi
> Assignee: Billie Rinaldi
> Priority: Major
> Attachments: YARN-8380.1.patch, YARN-8380.2.patch
>
>
> The docker run command supports the mount type shared, but currently we are
> only supporting ro and rw mount types in the docker runtime.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]