hadoop-yarn-issues mailing list archives

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

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

Varun Vasudev commented on YARN-5042:
-------------------------------------

Thanks for the updated patch [~luhuichun]! Just one change -
{code} +        .addMountLocation("/sys/fs/cgroup", "/sys/fs/cgroup:ro", true); {code}

Can you please set createSource to false? We don't want to create /sys/fs/cgroup on the host
machine if it doesn't exist. 

> 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, YARN-5042.004.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