public static Path getSnapshotRootDir(final Path rootDir) {
    return new Path(rootDir, HConstants.SNAPSHOT_DIR_NAME);
  }
Get the snapshot root directory. All the snapshots are kept under this directory, i.e.
${hbase.rootdir}/.snapshot
@param rootDir hbase root directory
@return the base directory in which all snapshots are kept
hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.java