Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 26402 invoked from network); 7 Mar 2008 00:14:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2008 00:14:20 -0000 Received: (qmail 14262 invoked by uid 500); 7 Mar 2008 00:14:15 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 14244 invoked by uid 500); 7 Mar 2008 00:14:15 -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 14235 invoked by uid 99); 7 Mar 2008 00:14:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2008 16:14:15 -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; Fri, 07 Mar 2008 00:13:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5B206234C09A for ; Thu, 6 Mar 2008 16:13:01 -0800 (PST) Message-ID: <1041210933.1204848781370.JavaMail.jira@brutus> Date: Thu, 6 Mar 2008 16:13:01 -0800 (PST) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=12575971#action_12575971 ] Tsz Wo (Nicholas), SZE commented on HADOOP-2915: ------------------------------------------------ > I don't see how the added test is testing the relevant code. The test check whether the object returned by FileSystem.get(...) depends on the user information. > 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 > Fix For: 0.16.1 > > Attachments: 2915_20080229.patch, 2915_20080302.patch, 2915_20080303.patch, 2915_20080305d.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.