[ 
https://issues.apache.org/jira/browse/MAPREDUCE-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu updated MAPREDUCE-431:
----------------------------------------------

    Component/s: jobtracker

> Task left in RUNNING state even after the job completion
> --------------------------------------------------------
>
>                 Key: MAPREDUCE-431
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-431
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amareshwari Sriramadasu
>            Priority: Minor
>
> Task could be left in RUNNING state in the following scenario:
> 1. Job was killed from command-line.
> 2. TaskTracker running the task didnt come back.
> 3. JobTracker marks the tracker as lost, but since Job is not RUNNING, it 
> does not change the Task's state. 
> The code doing the same in JobTracker.lostTaskTracker method is :
> {noformat}
>           // if the job is done, we don't want to change anything
>           if (job.getStatus().getRunState() == JobStatus.RUNNING ||
>               job.getStatus().getRunState() == JobStatus.PREP) {
>             job.failedTask(tip, taskId, ("Lost task tracker: " + 
> trackerName), 
>                ........
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to