private RegionVisitor createRegionVisitor(final SnapshotDescription desc) throws IOException {
    switch (getSnapshotFormat(desc)) {
      case SnapshotManifestV1.DESCRIPTOR_VERSION:
        return new SnapshotManifestV1.ManifestBuilder(conf, rootFs, workingDir);
      case SnapshotManifestV2.DESCRIPTOR_VERSION:
        return new SnapshotManifestV2.ManifestBuilder(conf, rootFs, workingDir);
      default:
        throw new CorruptedSnapshotException("Invalid Snapshot version: " + desc.getVersion(),
          ProtobufUtil.createSnapshotDesc(desc));
    }
  }
Add the table descriptor to the snapshot manifest
hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotManifest.java