public static ChecksumType getChecksumType(Configuration conf) {
    return ChecksumType.nameToType(
      conf.get(HConstants.CHECKSUM_TYPE_NAME, ChecksumType.getDefaultChecksumType().getName()));
  }
Returns the configured checksum algorithm.
@param conf The configuration
@return The checksum algorithm that is set in the configuration
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreUtils.java