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 "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2009/03/05 11:25:58 UTC
[jira] Created: (HADOOP-5408) Task left in RUNNING state even after
the job completion
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.