private Map<String, String> storagePolicyPerFamily(String storagePolicy) {
    Map<String, String> familyStoragePolicy = new HashMap<>();
    for (String familyConf : storagePolicy.split("&")) {
      String[] familySplit = familyConf.split("=");
      if (familySplit.length != 2) {
        continue;
      }
      // family is key, storage policy is value
      familyStoragePolicy.put(familySplit[0], familySplit[1]);
    }
    return familyStoragePolicy;
  }
Run Map-Reduce Job to perform the files copy.
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java