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

Amar Kamat commented on MAPREDUCE-1102:
---------------------------------------

One simple approach would be not to honour 'kill-job' when the cleanup is 
launched in which case the job can either move to FAILED or SUCCESSFUL state. 
The job can fail (after cleanup is launched) if all the cleanup attempts fail. 
The only corner case we need to take care if the case where the 
FileOutputCommitter.commitJob() creates _SUCCESS and fails. In such a case the 
job will fail with a _SUCCESS file. 

> Job gets killed even when the cleanup completes
> -----------------------------------------------
>
>                 Key: MAPREDUCE-1102
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1102
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.20.1
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>             Fix For: 0.22.0
>
>
> When the cleanup completes at the tasktracker and the job is killed by the 
> user, the cleanup runs to completion but the job fails. Ideally if the 
> cleanup is completed then the job should not be killed. 

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