private static HStore getStore(final Configuration conf, final FileSystem fs,
      final Path tableDir, final TableDescriptor htd, final RegionInfo hri, final String familyName)
      throws IOException {
      HRegionFileSystem regionFs = new HRegionFileSystem(conf, fs, tableDir, hri);
      HRegion region = new HRegion(regionFs, null, conf, htd, null);
      return new HStore(region, htd.getColumnFamily(Bytes.toBytes(familyName)), conf, false);
    }
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