Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5FBE2106D4 for ; Fri, 13 Sep 2013 21:07:58 +0000 (UTC) Received: (qmail 94554 invoked by uid 500); 13 Sep 2013 21:07:53 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 94441 invoked by uid 500); 13 Sep 2013 21:07:53 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 94434 invoked by uid 99); 13 Sep 2013 21:07:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Sep 2013 21:07:53 +0000 X-ASF-Spam-Status: No, hits=2.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of prash1784@gmail.com designates 209.85.192.182 as permitted sender) Received: from [209.85.192.182] (HELO mail-pd0-f182.google.com) (209.85.192.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Sep 2013 21:07:48 +0000 Received: by mail-pd0-f182.google.com with SMTP id r10so1732761pdi.41 for ; Fri, 13 Sep 2013 14:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=r86323FToILmE0uOyKWh/YcTLAkMpRFlhP8ZFfw1woM=; b=zMmRoFDmbegQnrL6u7CMjvntiDME6tPk+j28aM3NrONIQVfDe+W0UB4xaaHzc427dq BaqYekgQc2ZhnDi29dZBwKP+g0vhcROtBbCsNb92UcTLHO6zAhP+qJQZcBF5gwh9I1pV k1vo25DaeQxEg1ZTzCjWfd+JEH7dKAomA/1YxrTC75E1KfJzIPkt+ImFprA7uQj5lAvf h3nu5deZwAJRxYoXH2u3JyGViHDsAXe32aAA+7l24GK0axunN7fUZSxRdUUHJ5/D2EIw MpIk/0Hdgt7lVLkV0HH1i5EV50Rt+JwT4zY+FI0C1oGveK/xKm+5Vwk5D0AhOlfV/Bst BEiA== MIME-Version: 1.0 X-Received: by 10.67.14.231 with SMTP id fj7mr17590088pad.115.1379106447936; Fri, 13 Sep 2013 14:07:27 -0700 (PDT) Received: by 10.70.78.197 with HTTP; Fri, 13 Sep 2013 14:07:27 -0700 (PDT) Date: Fri, 13 Sep 2013 14:07:27 -0700 Message-ID: Subject: Yarn log directory perms From: Prashant Kommireddi To: "common-user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=001a113453eceff31404e64a3d36 X-Virus-Checked: Checked by ClamAV on apache.org --001a113453eceff31404e64a3d36 Content-Type: text/plain; charset=ISO-8859-1 Hey guys, It looks like the default perms for app/container dirs is set to 710 and is not configurable. From DefaultContainerExecutor /** Permissions for user log dir. * $logdir/$user/$appId */ private static final short LOGDIR_PERM = (short)0710; Any reasons for not having this be a configurable property? Thanks, Prashant --001a113453eceff31404e64a3d36 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hey guys,

It looks like the defau= lt perms for app/container dirs is set to 710 and is not configurable. From= =A0DefaultContainerEx= ecutor

  /** Permissions for user log dir.
   * $logdir/$user/$appId */
  private static final short LOGDIR_PERM =3D (short)0710;

Any reasons for not having this be a config= urable property?

Thanks,
Prashant
--001a113453eceff31404e64a3d36--