public static Path getStoreArchivePath(final Configuration conf, final TableName tableName,
    final String regionName, final String familyName) throws IOException {
    Path tableArchiveDir = getTableArchivePath(conf, tableName);
    return HRegionFileSystem.getStoreHomedir(tableArchiveDir, regionName,
      Bytes.toBytes(familyName));
  }
Get the directory to archive a store directory
@param conf       {@link Configuration} to read for the archive directory name
@param tableName  table name under which the store currently lives
@param regionName region encoded name under which the store currently lives
@param familyName 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