hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4578) Directories that are mounted in docker containers need to be more restrictive/container-specific
Date Fri, 22 Jan 2016 09:31:39 GMT

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

Hudson commented on YARN-4578:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9161 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9161/])
YARN-4578. Directories that are mounted in docker containers need to be (vvasudev: rev b41a7e89d1eb8650975ac7092532ed9563ac60f2)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/runtime/TestDockerContainerRuntime.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/runtime/DockerLinuxContainerRuntime.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/executor/ContainerStartContext.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/runtime/LinuxContainerRuntimeConstants.java
* hadoop-yarn-project/CHANGES.txt


> Directories that are mounted in docker containers need to be more restrictive/container-specific
> ------------------------------------------------------------------------------------------------
>
>                 Key: YARN-4578
>                 URL: https://issues.apache.org/jira/browse/YARN-4578
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>            Reporter: Sidharta Seethana
>            Assignee: Sidharta Seethana
>             Fix For: 2.9.0
>
>         Attachments: YARN-4578.001.patch, YARN-4578.002.patch
>
>
> Currently, the "top level" log and local directories are mounted inside docker containers
(see below for an example). This is not restrictive enough - we need to ensure that only container
specific directories are mounted. 
> {code}
> /dev/sda4 on /grid/0/hadoop/yarn/local type ext4 (rw,relatime,data=ordered)
> /dev/sda4 on /grid/0/hadoop/yarn/local/usercache/root/appcache/application_1451931954322_0020/container_e50_1451931954322_0020_01_000002
type ext4 (rw,relatime,data=ordered)
> /dev/sda4 on /grid/0/hadoop/yarn/log type ext4 (rw,relatime,data=ordered)
> /dev/sdb1 on /grid/1/hadoop/yarn/local type ext4 (rw,relatime,data=ordered)
> /dev/sdb1 on /grid/1/hadoop/yarn/log type ext4 (rw,relatime,data=ordered)
> /dev/sdc1 on /grid/2/hadoop/yarn/local type ext4 (rw,relatime,data=ordered)
> /dev/sdc1 on /grid/2/hadoop/yarn/log type ext4 (rw,relatime,data=ordered)
> /dev/sdd1 on /grid/3/hadoop/yarn/local type ext4 (rw,relatime,data=ordered)
> /dev/sdd1 on /grid/3/hadoop/yarn/log type ext4 (rw,relatime,data=ordered)
> /dev/sde1 on /grid/4/hadoop/yarn/local type ext4 (rw,relatime,data=ordered)
> /dev/sde1 on /grid/4/hadoop/yarn/log type ext4 (rw,relatime,data=ordered)
> /dev/sdf1 on /grid/5/hadoop/yarn/local type ext4 (rw,relatime,data=ordered)
> /dev/sdf1 on /grid/5/hadoop/yarn/log type ext4 (rw,relatime,data=ordered)
> {code}



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

Mime
View raw message