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

luhuichun commented on YARN-5042:
---------------------------------

@Varun Vasudev  Hi Varun, thanks for your suggestions,  you mean add a new 
function and modify the existing mountCommand to call this version? not modify 
the current addMountLocation?

and also there is problem, if "/sys/fs/group" or other root privilege dirs does 
not exist, docker -v /etc/xxx  will not run and raise an error 

> Mount /sys/fs/cgroup into Docker containers as read only mount
> --------------------------------------------------------------
>
>                 Key: YARN-5042
>                 URL: https://issues.apache.org/jira/browse/YARN-5042
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>            Reporter: Varun Vasudev
>            Assignee: luhuichun
>         Attachments: YARN-5042.001.patch, YARN-5042.002.patch, 
> YARN-5042.003.patch
>
>
> Containers running systemd need access to /sys/fs/cgroup. We should mount it 
> into the container as a read only mount.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to