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 E5B9D10519 for ; Mon, 28 Oct 2013 20:51:55 +0000 (UTC) Received: (qmail 80386 invoked by uid 500); 28 Oct 2013 20:51:46 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 80266 invoked by uid 500); 28 Oct 2013 20:51:38 -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 80256 invoked by uid 99); 28 Oct 2013 20:51:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 20:51:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rtejac@gmail.com designates 209.85.192.178 as permitted sender) Received: from [209.85.192.178] (HELO mail-pd0-f178.google.com) (209.85.192.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 20:51:29 +0000 Received: by mail-pd0-f178.google.com with SMTP id x10so7449904pdj.9 for ; Mon, 28 Oct 2013 13:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=9SkLifVdkofisLDUMGR/zIgewbKPFYRWnei3v53tH/8=; b=VHsCWo3J5EIAlDUoS4JDBdURJ68i/Ll0Xu5MBSCeThmfZmU/8myFvGWayK51F/c3Nu QWIlj3wIRanCN83FulKJSmtY7tq6LhDlE8hnqxFv/Rx1XGT7OIKdrX4w6mwC9+OWCASn K+ckpZAgYX5hw/vt2QRG52qKD26VvEqFScLepr5NkDJy3SEvf2qruV8JZegBjVcbndEh i4DOIQ3gU9V0zltqVAz7hMCG/4GCWDzspUdM+pQ+XtPfZmTX8+DLazku9kp7MnZIUCxC 87buV1gvbhnxhudKGxg7UmsDQXNAeO0udJq/1PkOMNgQHhd3bFcT964ppAfc5hXHtqVc PNEg== X-Received: by 10.66.164.136 with SMTP id yq8mr27056374pab.67.1382993468384; Mon, 28 Oct 2013 13:51:08 -0700 (PDT) Received: from awaite-ltm3.internal.salesforce.com (vpn-na-west.corp.salesforce.com. [204.14.239.150]) by mx.google.com with ESMTPSA id ef10sm37461073pac.1.2013.10.28.13.51.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Oct 2013 13:51:07 -0700 (PDT) From: rtejac Content-Type: multipart/alternative; boundary="Apple-Mail=_D5F5677E-D3B9-445F-B7C8-A30D4C736C11" Message-Id: <4392D0CC-C97C-4A18-8412-9F59CE5C650E@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: set file permission on mapreduce outputs Date: Mon, 28 Oct 2013 13:51:08 -0700 References: <1382987307.23442.YahooMailNeo@web120902.mail.ne1.yahoo.com> To: user@hadoop.apache.org, "S. Zhou" In-Reply-To: <1382987307.23442.YahooMailNeo@web120902.mail.ne1.yahoo.com> X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_D5F5677E-D3B9-445F-B7C8-A30D4C736C11 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hello,=20 You can set dfs.umask =3D 022. On Oct 28, 2013, at 12:08 PM, "S. Zhou" wrote: > I have a MR job (which only has mapper) and the file permission of the = output files is "rwx------". I want it to be "rwxr-xr-x". How can I set = it up in job config? Thanks >=20 > Senqiang >=20 --Apple-Mail=_D5F5677E-D3B9-445F-B7C8-A30D4C736C11 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 dfs.umask =3D = 022.

On Oct 28, 2013, at 12:08 PM, "S. = Zhou" <myxjtu@yahoo.com> = wrote:

I have a MR job (which only = has mapper) and the file permission of the output files is "rwx------". = I want it to be "rwxr-xr-x". How can I set it  up in job = config?  Thanks