hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4595) Add support for configurable read-only mounts
Date Mon, 04 Apr 2016 19:10:25 GMT

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

Allen Wittenauer commented on YARN-4595:
----------------------------------------

a) where is the filter in this patch being applied to limit it to the distributed cache?

b) where is the symlink prevention code? IIRC, using one of those in the distributed cache
would allow for the docker container to be able to access files/dirs outside of the container
after the link is resolved.

> Add support for configurable read-only mounts
> ---------------------------------------------
>
>                 Key: YARN-4595
>                 URL: https://issues.apache.org/jira/browse/YARN-4595
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>            Reporter: Billie Rinaldi
>            Assignee: Billie Rinaldi
>         Attachments: YARN-4595.1.patch, YARN-4595.2.patch
>
>
> Mounting files or directories from the host is one way of passing configuration and other
information into a docker container.  We could allow the user to set a list of mounts in the
environment of ContainerLaunchContext (e.g. /dir1:/targetdir1,/dir2:/targetdir2).  These would
be mounted read-only to the specified target locations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message