hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miklos Szegedi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5534) Allow user provided Docker volume mount list
Date Wed, 22 Nov 2017 03:30:01 GMT

    [ 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, [~shanekumpf@gmail.com] for the patch.
165	  private static final Pattern USER_MOUNT_PATTERN = Pattern.compile(
166	      "(?<=^|,)([\\s/.a-zA-Z0-9_-]+):([\\s/.a-zA-Z0-9_-]+):([a-z]+)");
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

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

View raw message