public static void cleanRestoreDir(Job job, String snapshotName) throws IOException {
    TableSnapshotInputFormatImpl.cleanRestoreDir(job, snapshotName);
  }
clean restore directory after snapshot scan job
@param job          the snapshot scan job
@param snapshotName the name of the snapshot to read from
@throws IOException if an error occurs
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormat.java