public static void setInput(JobConf job, String snapshotName, Path restoreDir)
    throws IOException {
    TableSnapshotInputFormatImpl.setInput(job, snapshotName, restoreDir);
  }
Configures the job to use TableSnapshotInputFormat to read from a snapshot.
@param job          the job to configure
@param snapshotName the name of the snapshot to read from
@param restoreDir   a temporary directory to restore the snapshot into. Current user should
                    have write permissions to this directory, and this should not be a
                    subdirectory of rootdir. After the job is finished, restoreDir can be
                    deleted.
@throws IOException if an error occurs
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapred/TableSnapshotInputFormat.java