public static Path getWorkingSnapshotDir(final Path rootDir, final Configuration conf) {
    return new Path(
      conf.get(SNAPSHOT_WORKING_DIR, getDefaultWorkingSnapshotDir(rootDir).toString()));
  }
Get the general working directory for snapshots - where they are built, where they are
temporarily copied on export, etc.
@param rootDir root directory of the HBase installation
@param conf    Configuration of the HBase instance
@return Path to the snapshot tmp directory, relative to the passed root directory
hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.java