Task left in RUNNING state even after the job completion
--------------------------------------------------------
Key: HADOOP-5408
URL: https://issues.apache.org/jira/browse/HADOOP-5408
Project: Hadoop Core
Issue Type: Bug
Components: mapred
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.
-
You can reply to this email to add a comment to the issue online.