Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 78260 invoked from network); 2 Jun 2008 04:32:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 04:32:14 -0000 Received: (qmail 29800 invoked by uid 500); 2 Jun 2008 04:32:13 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 29771 invoked by uid 500); 2 Jun 2008 04:32:13 -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 29755 invoked by uid 99); 2 Jun 2008 04:32:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jun 2008 21:32:13 -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; Mon, 02 Jun 2008 04:31:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C69ED234C137 for ; Sun, 1 Jun 2008 21:31:45 -0700 (PDT) Message-ID: <2140726659.1212381105812.JavaMail.jira@brutus> Date: Sun, 1 Jun 2008 21:31:45 -0700 (PDT) From: "Amareshwari Sriramadasu (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-2427) Cleanup of mapred.local.dir after maptask is complete 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-2427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amareshwari Sriramadasu updated HADOOP-2427: -------------------------------------------- Status: Open (was: Patch Available) trying to run hudson again. > Cleanup of mapred.local.dir after maptask is complete > ----------------------------------------------------- > > Key: HADOOP-2427 > URL: https://issues.apache.org/jira/browse/HADOOP-2427 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Affects Versions: 0.15.1 > Reporter: lohit vijayarenu > Assignee: Amareshwari Sriramadasu > Fix For: 0.18.0 > > Attachments: patch-2427.txt, patch-2427.txt > > > I see that after a map task is complete, its working directory (mapred.local.dir)/taskTracker/jobcache// is not deleted untill the job is complete. If map out files are stored in there, could this be created in different directory and the working directory cleaned up after map task is complete. One problem we are seeing is, if a map task creates files temporary files, they get accumulated and we may run out of disk space thus failing the job. Relying on the user to cleanup all temp files created is be error prone. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.