Class DirectoryStagingCommitter

java.lang.Object
org.apache.hadoop.mapreduce.OutputCommitter
org.apache.hadoop.mapreduce.lib.output.PathOutputCommitter
All Implemented Interfaces:
org.apache.hadoop.fs.statistics.IOStatisticsSource

public class DirectoryStagingCommitter extends StagingCommitter
This commits to a directory. The conflict policy is
  • FAIL: fail the commit
  • APPEND: add extra data to the destination.
  • REPLACE: delete the destination directory in the job commit (i.e. after and only if all tasks have succeeded.
  • Field Details

  • Constructor Details

    • DirectoryStagingCommitter

      public DirectoryStagingCommitter(org.apache.hadoop.fs.Path outputPath, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
      Throws:
      IOException
  • Method Details