Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 94655 invoked from network); 21 Mar 2008 12:21:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2008 12:21:50 -0000 Received: (qmail 11597 invoked by uid 500); 21 Mar 2008 12:21:46 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 11572 invoked by uid 500); 21 Mar 2008 12:21:46 -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 11562 invoked by uid 99); 21 Mar 2008 12:21:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 05:21:46 -0700 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, 21 Mar 2008 12:21:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AF15B234C0BC for ; Fri, 21 Mar 2008 05:19:30 -0700 (PDT) Message-ID: <1971406740.1206101970716.JavaMail.jira@brutus> Date: Fri, 21 Mar 2008 05:19:30 -0700 (PDT) From: "Hudson (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-2899) [HOD] hdfs:///mapredsystem directory not cleaned up after deallocation In-Reply-To: <477584133.1204047651525.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-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581068#action_12581068 ] Hudson commented on HADOOP-2899: -------------------------------- Integrated in Hadoop-trunk #435 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/435/]) > [HOD] hdfs:///mapredsystem directory not cleaned up after deallocation > ----------------------------------------------------------------------- > > Key: HADOOP-2899 > URL: https://issues.apache.org/jira/browse/HADOOP-2899 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/hod > Affects Versions: 0.16.0 > Reporter: Luca Telloli > Assignee: Hemanth Yamijala > Fix For: 0.17.0 > > Attachments: 2899.1.patch > > > Each submitted job creates a hdfs:///mapredsystem directory, created by (I guess) the hodring process. Problem is that it's not cleaned up at the end of the process; a use case would be: > - user A allocates a cluster, the hodring is svrX, so a /mapredsystem/srvX directory is created > - user A deallocates the cluster, but that directory is not cleaned up > - user B allocates a cluster, and the first node chosen as hodring is svrX, so hodring tries to write hdfs:///mapredsystem but it fails > - allocation succeeds, but there's no hodring running; looking at > 0-jobtracker/logdir/hadoop.log under the temporary directory I can read: > 2008-02-26 17:28:42,567 WARN org.apache.hadoop.mapred.JobTracker: Error starting tracker: org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.fs.permission.AccessControlException: Permission denied: user=B, access=WRITE, inode="mapredsystem":hadoop:supergroup:rwxr-xr-x > I guess a possible solution would be to clean up those directories during the deallocation process. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.