org.elasticsearch.hadoop.mr
Class EsOutputFormat.EsOutputCommitter
java.lang.Object
org.apache.hadoop.mapreduce.OutputCommitter
org.elasticsearch.hadoop.mr.EsOutputFormat.EsOutputCommitter
- Enclosing class:
- EsOutputFormat
public static class EsOutputFormat.EsOutputCommitter
- extends OutputCommitter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EsOutputFormat.EsOutputCommitter
public EsOutputFormat.EsOutputCommitter()
setupJob
public void setupJob(JobContext jobContext)
throws IOException
- Specified by:
setupJob
in class OutputCommitter
- Throws:
IOException
cleanupJob
@Deprecated
public void cleanupJob(JobContext jobContext)
throws IOException
- Deprecated.
- Overrides:
cleanupJob
in class OutputCommitter
- Throws:
IOException
setupTask
public void setupTask(TaskAttemptContext taskContext)
throws IOException
- Specified by:
setupTask
in class OutputCommitter
- Throws:
IOException
needsTaskCommit
public boolean needsTaskCommit(TaskAttemptContext taskContext)
throws IOException
- Specified by:
needsTaskCommit
in class OutputCommitter
- Throws:
IOException
commitTask
public void commitTask(TaskAttemptContext taskContext)
throws IOException
- Specified by:
commitTask
in class OutputCommitter
- Throws:
IOException
abortTask
public void abortTask(TaskAttemptContext taskContext)
throws IOException
- Specified by:
abortTask
in class OutputCommitter
- Throws:
IOException