Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 33917 invoked from network); 4 Mar 2008 17:16:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2008 17:16:57 -0000 Received: (qmail 77443 invoked by uid 500); 4 Mar 2008 17:16:53 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 77007 invoked by uid 500); 4 Mar 2008 17:16:52 -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 76998 invoked by uid 99); 4 Mar 2008 17:16:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 09:16:52 -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; Tue, 04 Mar 2008 17:16:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0C900234C050 for ; Tue, 4 Mar 2008 09:15:45 -0800 (PST) Message-ID: <211975078.1204650945049.JavaMail.jira@brutus> Date: Tue, 4 Mar 2008 09:15:45 -0800 (PST) From: "Luca Telloli (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-2925) [HOD] Create mapred system directory using a naming convention that will avoid clashes in multi-user shared cluster scenario. In-Reply-To: <982917235.1204544210456.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-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575058#action_12575058 ] Luca Telloli commented on HADOOP-2925: -------------------------------------- I patched the version 0.4.0 of Hadoop 0.16.0 and it worked flawlessly. Directory names do not clash under /mapredsystem which is a very useful step waiting for HADOOP-2899. Thanks, Luca > [HOD] Create mapred system directory using a naming convention that will avoid clashes in multi-user shared cluster scenario. > ----------------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-2925 > URL: https://issues.apache.org/jira/browse/HADOOP-2925 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/hod > Affects Versions: 0.16.0 > Reporter: Hemanth Yamijala > Assignee: Hemanth Yamijala > Fix For: 0.16.1 > > Attachments: 2925.patch > > > Currently, HOD generates the name of the mapredsystem directory using the name /mapredsystem/hostname-of-jobtracker. > In HADOOP-2899, we ran into a scenario where this naming convention could lead to problems in case dfs permissions are enabled. While the bug should ideally be addressed in Hadoop M/R, it will be better that HOD does not generate names that can potentially clash across runs. One way to solve the problem is to do what HOD already does for local log and temp directories - name it using username.torque-job-id, which is going to be pretty unique mostly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.