elasticsearch-hadoop

org.elasticsearch.hadoop.mr
Class EsOutputFormat.EsOutputCommitter

java.lang.Object
  extended by org.apache.hadoop.mapreduce.OutputCommitter
      extended by org.elasticsearch.hadoop.mr.EsOutputFormat.EsOutputCommitter
Enclosing class:
EsOutputFormat

public static class EsOutputFormat.EsOutputCommitter
extends OutputCommitter


Constructor Summary
EsOutputFormat.EsOutputCommitter()
           
 
Method Summary
 void abortTask(TaskAttemptContext taskContext)
           
 void cleanupJob(JobContext jobContext)
          Deprecated. 
 void commitTask(TaskAttemptContext taskContext)
           
 boolean needsTaskCommit(TaskAttemptContext taskContext)
           
 void setupJob(JobContext jobContext)
           
 void setupTask(TaskAttemptContext taskContext)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.OutputCommitter
abortJob, commitJob
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EsOutputFormat.EsOutputCommitter

public EsOutputFormat.EsOutputCommitter()
Method Detail

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

elasticsearch-hadoop