public static Path getStoreArchivePath(Configuration conf, RegionInfo region, byte[] family)
    throws IOException {
    Path rootDir = CommonFSUtils.getRootDir(conf);
    Path tableArchiveDir = getTableArchivePath(rootDir, region.getTable());
    return HRegionFileSystem.getStoreHomedir(tableArchiveDir, region, family);
  }
Gets the directory to archive a store directory.
@param conf   {@link Configuration} to read for the archive directory name.
@param region parent region information under which the store currently lives
@param family name of the family in the store
@return {@link Path} to the directory to archive the given store or <tt>null</tt> if it should
        not be archived
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HFileArchiveUtil.java