public static SnapshotStats getSnapshotStats(final Configuration conf,
    final SnapshotDescription snapshot) throws IOException {
    SnapshotProtos.SnapshotDescription snapshotDesc =
      ProtobufUtil.createHBaseProtosSnapshotDesc(snapshot);
    return getSnapshotStats(conf, snapshotDesc, null);
  }
Returns the snapshot stats
@param conf     the {@link Configuration} to use
@param snapshot {@link SnapshotDescription} to get stats from
@return the snapshot stats
hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotInfo.java