You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "lohit vijayarenu (JIRA)" <ji...@apache.org> on 2007/12/14 08:32:43 UTC

[jira] Created: (HADOOP-2427) Cleanup of mapred.local.dir after maptask is complete

Cleanup of mapred.local.dir after maptask is complete
-----------------------------------------------------

                 Key: HADOOP-2427
                 URL: https://issues.apache.org/jira/browse/HADOOP-2427
             Project: Hadoop
          Issue Type: Bug
          Components: mapred
    Affects Versions: 0.15.1
            Reporter: lohit vijayarenu


I see that after a map task is complete, its working directory (mapred.local.dir)/taskTracker/jobcache/<jobid>/<task_dir> 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.


Re: [jira] Created: (HADOOP-2427) Cleanup of mapred.local.dir after maptask is complete

Posted by Arkady Borkovsky <ar...@yahoo-inc.com>.
As a user, I've always assumed that the CWD directory of a task is  
cleaned up by the system.
I think most of the users were ensured this is so.
So fixing this should be high priority.
--ab
On Dec 13, 2007, at 11:32 PM, lohit vijayarenu (JIRA) wrote:

> Cleanup of mapred.local.dir after maptask is complete
> -----------------------------------------------------
>
>                  Key: HADOOP-2427
>                  URL: https://issues.apache.org/jira/browse/ 
> HADOOP-2427
>              Project: Hadoop
>           Issue Type: Bug
>           Components: mapred
>     Affects Versions: 0.15.1
>             Reporter: lohit vijayarenu
>
>
> I see that after a map task is complete, its working directory  
> (mapred.local.dir)/taskTracker/jobcache/<jobid>/<task_dir> 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.
>