hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "luhuichun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5042) Mount /sys/fs/cgroup into Docker containers as read only mount
Date Fri, 05 Aug 2016 05:36:20 GMT

    [ 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message