Sha256: 5555d206e0ec65f27df761a2fd93eaa1cb20ebcf6a770925e561f2e90db21ab6

Contents?: true

Size: 902 Bytes

Versions: 5

Compression:

Stored size: 902 Bytes

Contents

package com.infochimps.elasticsearch;

import java.io.IOException;

import org.apache.hadoop.mapred.JobContext;
import org.apache.hadoop.mapred.OutputCommitter;
import org.apache.hadoop.mapred.TaskAttemptContext;

public class ElasticSearchStreamingOutputCommitter extends OutputCommitter {
    
    @Override
    public void setupJob(JobContext context) throws IOException {
      
    }
    
    @Override
    public void cleanupJob(JobContext context) throws IOException {
    }

    @Override
    public void setupTask(TaskAttemptContext context) throws IOException {
    }

    @Override
    public boolean needsTaskCommit(TaskAttemptContext context) throws IOException {
	return false;
    }

    @Override
    public void commitTask(TaskAttemptContext context) throws IOException {
    }
    
    @Override
    public void abortTask(TaskAttemptContext context) throws IOException {
    }
    
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wonderdog-0.2.0 src/main/java/com/infochimps/elasticsearch/ElasticSearchStreamingOutputCommitter.java
wonderdog-0.1.1 src/main/java/com/infochimps/elasticsearch/ElasticSearchStreamingOutputCommitter.java
wonderdog-0.1.0 src/main/java/com/infochimps/elasticsearch/ElasticSearchStreamingOutputCommitter.java
wonderdog-0.0.2 src/main/java/com/infochimps/elasticsearch/ElasticSearchStreamingOutputCommitter.java
wonderdog-0.0.1 src/main/java/com/infochimps/elasticsearch/ElasticSearchStreamingOutputCommitter.java