[
https://issues.apache.org/jira/browse/YARN-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16261921#comment-16261921
]
Miklos Szegedi commented on YARN-5534:
--------------------------------------
Thank you, [[email protected]] for the patch.
{code}
165 private static final Pattern USER_MOUNT_PATTERN = Pattern.compile(
166 "(?<=^|,)([\\s/.a-zA-Z0-9_-]+):([\\s/.a-zA-Z0-9_-]+):([a-z]+)");
{code}
This pattern excludes characters considered valid and supported by Linux in
several languages. Please consider a pattern excluding the known reserved
characters as described here:
https://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words
> Allow user provided Docker volume mount list
> --------------------------------------------
>
> Key: YARN-5534
> URL: https://issues.apache.org/jira/browse/YARN-5534
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: yarn
> Reporter: luhuichun
> Assignee: Shane Kumpf
> Attachments: YARN-5534.001.patch, YARN-5534.002.patch,
> YARN-5534.003.patch, YARN-5534.004.patch, YARN-5534.005.patch,
> YARN-5534.006.patch
>
>
> YARN-6623 added support in container-executor for admin supplied Docker
> volume whitelists. This allows controlling which host directories can be
> mounted into Docker containers launched by YARN. A read-only and read-write
> whitelist was added. We now need the ability for users to supply the mounts
> they require for their application, which will be validated against the admin
> whitelist in container-executor.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]