Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 11112 invoked from network); 8 Mar 2008 00:49:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2008 00:49:05 -0000 Received: (qmail 32926 invoked by uid 500); 8 Mar 2008 00:49:01 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 32903 invoked by uid 500); 8 Mar 2008 00:49:01 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 32893 invoked by uid 99); 8 Mar 2008 00:49:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2008 16:49:00 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Mar 2008 00:48:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 20F72234C05D for ; Fri, 7 Mar 2008 16:47:46 -0800 (PST) Message-ID: <800922134.1204937266119.JavaMail.jira@brutus> Date: Fri, 7 Mar 2008 16:47:46 -0800 (PST) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-2915) mapred output files and directories should be created as the job submitter, not tasktracker or jobtracker In-Reply-To: <1317600115.1204237791110.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HADOOP-2915: ------------------------------------------- Attachment: 2915_20080307b_16.patch 2915_20080307b_16.patch: this is a patch for 0.16 > mapred output files and directories should be created as the job submitter, not tasktracker or jobtracker > --------------------------------------------------------------------------------------------------------- > > Key: HADOOP-2915 > URL: https://issues.apache.org/jira/browse/HADOOP-2915 > Project: Hadoop Core > Issue Type: Bug > Components: dfs, mapred > Affects Versions: 0.16.0 > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Priority: Blocker > Fix For: 0.16.1 > > Attachments: 2915_20080229.patch, 2915_20080302.patch, 2915_20080303.patch, 2915_20080305d.patch, 2915_20080306c.patch, 2915_20080307.patch, 2915_20080307b.patch, 2915_20080307b_16.patch > > > Quoted from an email sending to core-dev by Andy Li: > {quote} > For example, assuming I have installed Hadoop with an account 'hadoop' and I am going to run my program with user account 'test'. I have created an input folder as /user/test/input/ with user 'test' and the permission is set to 0775. > /user/test/input 2008-02-27 01:20 rwxr-xr-x test hadoop > When I run the MapReduce code, the output I specified will be set to user 'hadoop' instead of 'test'. > /bin/hadoop jar /tmp/test_perm.jar -m 57 -r 3 "/user/test/input/l" "/user/test/output/" > The directory "/user/test/output/" will have the following permission and user:group. > /user/test/output 2008-02-27 03:53 rwxr-xr-x hadoop hadoop > {quote} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.