@Override
    public void map(LongWritable key, Text value, Context context)
      throws InterruptedException, IOException {
      Path path = new Path(value.toString());
      this.compactor.compact(path, compactOnce, major);
    }
Execute the actual compaction job. If the compact once flag is not specified, execute the
compaction until no more compactions are needed. Uses the Configuration settings provided.
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/regionserver/CompactionTool.java