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

Amareshwari Sriramadasu updated HADOOP-4361:
--------------------------------------------

    Attachment: patch-4361.txt

Attaching patch with following changes:

1. changed TaskInProgress.shouldClose(attemptId) to return true if the tip has 
failed. This will make sure cleanup task will get a slor free.
2. the gaurd in obtainNewMap/ReduceTask for tasksInited is changed to gaurd for 
JobState as RUNNING
3. kill setup Tips when there is a kill from commandLine 
4.  Fixed setup task failures when
     i) kill-task for setup task from commandLine 
     ii) lost tracker on which setup task is running.

> Corner cases in killJob from command line
> -----------------------------------------
>
>                 Key: HADOOP-4361
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4361
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.19.0
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: patch-4361.txt
>
>
> If the job has occupied all the slots (maps and reduces), and there is kill 
> from command line to kill the job, we have to make sure the cleanup task is 
> eventually launched. Now there is no slot free until one of the attempts 
> completes/failed.
> If there is kill from commandline during job setup, setup task has to be 
> killed, before launching cleanup 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