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

Sharad Agarwal commented on HADOOP-4906:
----------------------------------------

Being little clear on my last comment. The code could look like this in 
TaskTracker.java:

{code}
private void localizeJob(TaskInProgress tip) throws IOException {
.......
.......
synchronized (rjob) {
      if (!rjob.localized) {
           ........
           ........
           //keep a reference to JobConf in RunningJob
            rjob.localized = true;
            rjob.jobConf = localJobConf;
     }
}
    //create the task level JobConf 
    launchTaskForJob(tip, new JobConf(rjob.jobConf)); 
}
{code}

> TaskTracker running out of memory after running several tasks
> -------------------------------------------------------------
>
>                 Key: HADOOP-4906
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4906
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.19.0
>            Reporter: Arun C Murthy
>            Assignee: Sharad Agarwal
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: 4906_v1.patch, 4906_v2.patch, 4906_v3.patch
>
>
> Looks like the TaskTracker isn't cleaning up correctly after completed/failed 
> tasks, I suspect that the JobConfs aren't being deallocated. Eventually the 
> TaskTracker runs out of memory after running several tasks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to