public Map<String, Collection<Scan>> getSnapshotsToScans(Configuration conf) throws IOException {

    Map<String, Collection<Scan>> rtn = Maps.newHashMap();

    for (Map.Entry<String, String> entry : ConfigurationUtil.getKeyValues(conf,
      SNAPSHOT_TO_SCANS_KEY)) {
      String snapshotName = entry.getKey();
      String scan = entry.getValue();

      Collection<Scan> snapshotScans = rtn.get(snapshotName);
      if (snapshotScans == null) {
        snapshotScans = Lists.newArrayList();
        rtn.put(snapshotName, snapshotScans);
      }

      snapshotScans.add(TableMapReduceUtil.convertStringToScan(scan));
    }

    return rtn;
  }
Retrieve the snapshot name -&gt; list&lt;scan&gt; mapping pushed to configuration by
{@link #setSnapshotToScans(Configuration, Map)}
@param conf Configuration to extract name -&gt; list&lt;scan&gt; mappings from.
@return the snapshot name -&gt; list&lt;scan&gt; mapping pushed to configuration
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/MultiTableSnapshotInputFormatImpl.java