Class GuaguaOutputCommitter


  • public class GuaguaOutputCommitter
    extends org.apache.hadoop.mapreduce.OutputCommitter
    This output committer doesn't do anything, meant for the case where output isn't desired, or as a base for not using FileOutputCommitter.
    • Constructor Detail

      • GuaguaOutputCommitter

        public GuaguaOutputCommitter()
    • Method Detail

      • abortTask

        public void abortTask​(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                       throws IOException
        Specified by:
        abortTask in class org.apache.hadoop.mapreduce.OutputCommitter
        Throws:
        IOException
      • commitTask

        public void commitTask​(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                        throws IOException
        Specified by:
        commitTask in class org.apache.hadoop.mapreduce.OutputCommitter
        Throws:
        IOException
      • needsTaskCommit

        public boolean needsTaskCommit​(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                                throws IOException
        Specified by:
        needsTaskCommit in class org.apache.hadoop.mapreduce.OutputCommitter
        Throws:
        IOException
      • setupJob

        public void setupJob​(org.apache.hadoop.mapreduce.JobContext context)
                      throws IOException
        Specified by:
        setupJob in class org.apache.hadoop.mapreduce.OutputCommitter
        Throws:
        IOException
      • setupTask

        public void setupTask​(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                       throws IOException
        Specified by:
        setupTask in class org.apache.hadoop.mapreduce.OutputCommitter
        Throws:
        IOException
      • commitJob

        public void commitJob​(org.apache.hadoop.mapreduce.JobContext jobContext)
                       throws IOException
        Overrides:
        commitJob in class org.apache.hadoop.mapreduce.OutputCommitter
        Throws:
        IOException
      • cleanupJob

        public void cleanupJob​(org.apache.hadoop.mapreduce.JobContext jobContext)
                        throws IOException
        Overrides:
        cleanupJob in class org.apache.hadoop.mapreduce.OutputCommitter
        Throws:
        IOException