You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Shane Kumpf (JIRA)" <ji...@apache.org> on 2018/01/27 00:05:00 UTC

[jira] [Issue Comment Deleted] (YARN-7815) Mount the filecache as read-only in Docker containers

     [ https://issues.apache.org/jira/browse/YARN-7815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shane Kumpf updated YARN-7815:
------------------------------
    Comment: was deleted

(was: {quote} I am just wondering whether it would be more secure mounting 2. and appcache/filecache read only but not mounting 4. 
{quote}
IIRC, if usercache/_user_ is not mounted r/w, I believe writes to usercache/_user_/appcache will be denied because docker will create the parent directories as root:root. I'll do some more testing here based on the suggestions so far.)

> Mount the filecache as read-only in Docker containers
> -----------------------------------------------------
>
>                 Key: YARN-7815
>                 URL: https://issues.apache.org/jira/browse/YARN-7815
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Shane Kumpf
>            Assignee: Shane Kumpf
>            Priority: Major
>
> Currently, when using the Docker runtime, the filecache directories are mounted read-write into the Docker containers. Read write access is not necessary. We should make this more restrictive by changing that mount to read-only.



--
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