Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C95F18115 for ; Thu, 21 Jan 2016 17:44:40 +0000 (UTC) Received: (qmail 99935 invoked by uid 500); 21 Jan 2016 17:44:40 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 99777 invoked by uid 500); 21 Jan 2016 17:44:40 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 99707 invoked by uid 99); 21 Jan 2016 17:44:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2016 17:44:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E48D62C1F6D for ; Thu, 21 Jan 2016 17:44:39 +0000 (UTC) Date: Thu, 21 Jan 2016 17:44:39 +0000 (UTC) From: "Varun Vasudev (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4578) Directories that are mounted in docker containers need to be more restrictive/container-specific MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15110976#comment-15110976 ] Varun Vasudev commented on YARN-4578: ------------------------------------- Latest patch applies cleanly. +1 pending jenkins. > 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 > 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)