[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974330#action_12974330
 ] 

Scott Chen commented on MAPREDUCE-2217:
---------------------------------------

Hi Lianhui,
Yes, that's the idea. I have attached a patch for this. Currently we will do 
ExpireLaunchingTasks.removeTask() for any task that updates.
But we should avoid remove the task that is UNASSIGNED so they can be killed by 
ExpireLaunchingTasks.run() as you described.


> The expire launching task should cover the UNASSIGNED task
> ----------------------------------------------------------
>
>                 Key: MAPREDUCE-2217
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2217
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: jobtracker
>    Affects Versions: 0.23.0
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-2217.txt
>
>
> The ExpireLaunchingTask thread kills the task that are scheduled but not 
> responded.
> Currently if a task is scheduled on tasktracker and for some reason 
> tasktracker cannot put it to RUNNING.
> The task will just hang in the UNASSIGNED status and JobTracker will keep 
> waiting for it.
> JobTracker.ExpireLaunchingTask should be able to kill this task.

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