Sha256: 331f68990d2556e84a3119068c1d049669cf86778b6f87790791df4e975fe0f4
Contents?: true
Size: 888 Bytes
Versions: 5
Compression:
Stored size: 888 Bytes
Contents
package com.infochimps.elasticsearch; import java.io.IOException; import org.apache.hadoop.mapreduce.JobContext; import org.apache.hadoop.mapreduce.OutputCommitter; import org.apache.hadoop.mapreduce.TaskAttemptContext; /** * Small committer class that does not do anything. */ public class ElasticSearchOutputCommitter extends OutputCommitter { @Override public void abortTask(TaskAttemptContext arg0) throws IOException { } @Override public void cleanupJob(JobContext arg0) throws IOException { } @Override public void commitTask(TaskAttemptContext arg0) throws IOException { } @Override public boolean needsTaskCommit(TaskAttemptContext arg0) throws IOException { return false; } @Override public void setupJob(JobContext arg0) throws IOException { } @Override public void setupTask(TaskAttemptContext arg0) throws IOException { } }
Version data entries
5 entries across 5 versions & 1 rubygems