public static void generateExceptionForChecksumFailureForTest(boolean value) {
    generateExceptions = value;
  }
Mechanism to throw an exception in case of hbase checksum failure. This is used by unit tests
only.
@param value Setting this to true will cause hbase checksum verification failures to generate
             exceptions.
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/ChecksumUtil.java