hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2427) Cleanup of mapred.local.dir after maptask is complete
Date Wed, 28 May 2008 11:43:45 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600445#action_12600445
] 

Amareshwari Sriramadasu commented on HADOOP-2427:
-------------------------------------------------

bq. Please don't add more to MRConstants.java, WORKDIR should belong to TaskTracker.TaskInProgress.

WORKDIR is also used in TaskRunner.java, so, I think MRConstant.java is the right place for
the public static constant.

> 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
>
>
> 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.


Mime
View raw message