org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
Class PigOutputCommitter

java.lang.Object
  extended by org.apache.hadoop.mapreduce.OutputCommitter
      extended by org.apache.hadoop.mapred.OutputCommitter
          extended by org.apache.hadoop.mapred.FileOutputCommitter
              extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputCommitter

public class PigOutputCommitter
extends org.apache.hadoop.mapred.FileOutputCommitter

A specialization of the default FileOutputCommitter to allow pig to call commit() on the StoreFunc's associated with the stores in a job IF the StoreFunc's are CommittableStoreFunc's


Field Summary
 
Fields inherited from class org.apache.hadoop.mapred.FileOutputCommitter
LOG, TEMP_DIR_NAME
 
Constructor Summary
PigOutputCommitter()
           
 
Method Summary
 void cleanupJob(org.apache.hadoop.mapred.JobContext context)
           
 
Methods inherited from class org.apache.hadoop.mapred.FileOutputCommitter
abortTask, commitTask, needsTaskCommit, setupJob, setupTask
 
Methods inherited from class org.apache.hadoop.mapred.OutputCommitter
abortTask, cleanupJob, commitTask, needsTaskCommit, setupJob, setupTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PigOutputCommitter

public PigOutputCommitter()
Method Detail

cleanupJob

public void cleanupJob(org.apache.hadoop.mapred.JobContext context)
                throws IOException
Overrides:
cleanupJob in class org.apache.hadoop.mapred.FileOutputCommitter
Throws:
IOException


Copyright © ${year} The Apache Software Foundation