class ConsistencyCheck {

  static void checkUnvisitedPath(FileSystem fs, Path unvisitedMetastorePath) throws IOException {
    if (fs.exists(unvisitedMetastorePath)) {
      throw new IllegalStateException(
          "ABORTING: Metastore path not found in file system scan but does exist: '" + unvisitedMetastorePath + "'.");
    }
  }

  private  ConsistencyCheck();

}