org.apache.hadoop.hbase.io.hfile
Class ChecksumUtil
java.lang.Object
org.apache.hadoop.hbase.io.hfile.ChecksumUtil
public class ChecksumUtil
- extends Object
Utility methods to compute and validate checksums.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChecksumUtil
public ChecksumUtil()
generateExceptionForChecksumFailureForTest
public static void generateExceptionForChecksumFailureForTest(boolean value)
- Mechanism to throw an exception in case of hbase checksum
failure. This is used by unit tests only.
- Parameters:
value
- Setting this to true will cause hbase checksum
verification failures to generate exceptions.
Copyright © 2015 The Apache Software Foundation. All rights reserved.