public static Path getTableArchivePath(final Path rootdir, final TableName tableName) {
    return CommonFSUtils.getTableDir(getArchivePath(rootdir), tableName);
  }
Get the path to the table archive directory based on the configured archive directory.
<p>
Get the path to the table's archive directory.
<p>
Generally of the form: /hbase/.archive/[tablename]
@param rootdir   {@link Path} to the root directory where hbase files are stored (for building
                 the archive path)
@param tableName Name of the table to be archived. Cannot be null.
@return {@link Path} to the archive directory for the table
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HFileArchiveUtil.java