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 4115918619 for ; Wed, 13 Jan 2016 02:18:40 +0000 (UTC) Received: (qmail 5398 invoked by uid 500); 13 Jan 2016 02:18:40 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 5341 invoked by uid 500); 13 Jan 2016 02:18: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 5322 invoked by uid 99); 13 Jan 2016 02:18:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2016 02:18:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E83362C1F57 for ; Wed, 13 Jan 2016 02:18:39 +0000 (UTC) Date: Wed, 13 Jan 2016 02:18:39 +0000 (UTC) From: "Vinod Kumar Vavilapalli (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4579) Allow container directory permissions to be configurable 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-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15095475#comment-15095475 ] Vinod Kumar Vavilapalli commented on YARN-4579: ----------------------------------------------- bq. There are some cases where less restrictive permissions are desired. Make this configurable. Can you elaborate on this? If the use-case has merits, this shouldn't be limited only to DefaultContainerExecutor? And depending on what it is, it may (or may not) apply to other dirs like local-dirs too. > Allow container directory permissions to be configurable > -------------------------------------------------------- > > Key: YARN-4579 > URL: https://issues.apache.org/jira/browse/YARN-4579 > Project: Hadoop YARN > Issue Type: Improvement > Components: yarn > Affects Versions: 2.8.0 > Reporter: Ray Chiang > Assignee: Ray Chiang > Labels: supportability > Attachments: YARN-4579.001.patch, YARN-4579.002.patch, YARN-4579.003.patch > > > By default, container directory permissions are hardcoded to this member in DefaultContainerExecutor: > static final short LOGDIR_PERM = (short)0710; > There are some cases where less restrictive permissions are desired. Make this configurable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)