org.apache.hadoop.mapreduce.lib.output
Interface PartialOutputCommitter

All Known Implementing Classes:
PartialFileOutputCommitter

@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface PartialOutputCommitter

Interface for an OutputCommitter implementing partial commit of task output, as during preemption.


Method Summary
 void cleanUpPartialOutputForTask(TaskAttemptContext context)
          Remove all previously committed outputs from prior executions of this task.
 

Method Detail

cleanUpPartialOutputForTask

void cleanUpPartialOutputForTask(TaskAttemptContext context)
                                 throws IOException
Remove all previously committed outputs from prior executions of this task.

Parameters:
context - Context for cleaning up previously promoted output.
Throws:
IOException - If cleanup fails, then the state of the task my not be well defined.


Copyright © 2014 Apache Software Foundation. All Rights Reserved.