[
https://issues.apache.org/jira/browse/MAPREDUCE-947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768053#action_12768053
]
Arun C Murthy commented on MAPREDUCE-947:
-----------------------------------------
And the javadoc for abortJob should be:
{noformat}
/**
* For aborting an unsuccessful job's output. Note that this is invoked for
* jobs with final runstate as {...@link JobStatus.State#FAILED} or
* {...@link JobStatus.State#KILLED}
*
* @param jobContext Context of the job whose output is being written.
* @param state final runstate of the job
* @throws IOException
*/
public void abortJob(JobContext jobContext, JobStatus.State state)
throws IOException {
{noformat}
> OutputCommitter should have an abortJob method
> ----------------------------------------------
>
> Key: MAPREDUCE-947
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-947
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Affects Versions: 0.21.0
> Reporter: Owen O'Malley
> Assignee: Amar Kamat
> Fix For: 0.22.0
>
> Attachments: mapred-948-v1.12-branch-0.20-internal.patch,
> mapred-948-v1.12.patch, mapred-948-v1.13-branch-0.20-internal.patch,
> mapred-948-v1.2.patch, mapred-948-v1.3.patch, mapred-948-v1.4.patch,
> mapred-948-v1.7.patch, mapred-948-v2.1-branch-0.20.patch,
> mapred-948-v2.3-branch-0.20.patch, mapred-948-v2.3.patch,
> mapred-948-v3.1.patch, mapred-948-v3.2.patch, mapred-948-v3.4.patch,
> mr-947-trunk-new.patch, mr-947-trunk.patch, mr-947-trunk.patch,
> mr-947-y20.patch
>
>
> The OutputCommitter needs an abortJob method to clean up from failed jobs.
> Currently there is no way to distinguish between failed or succeeded jobs,
> making it impossible to write output promotion code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.