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