org.apache.hadoop.hbase.util
Class HBaseFsck
java.lang.Object
org.apache.hadoop.hbase.util.HBaseFsck
public class HBaseFsck
- extends Object
Check consistency among the in-memory states of the master and the
region server(s) and the state of data in HDFS.
Constructor Summary |
HBaseFsck(org.apache.hadoop.conf.Configuration conf)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TIME_LAG
public static final long DEFAULT_TIME_LAG
- See Also:
- Constant Field Values
DEFAULT_SLEEP_BEFORE_RERUN
public static final long DEFAULT_SLEEP_BEFORE_RERUN
- See Also:
- Constant Field Values
HBaseFsck
public HBaseFsck(org.apache.hadoop.conf.Configuration conf)
throws MasterNotRunningException,
ZooKeeperConnectionException,
IOException
- Constructor
- Parameters:
conf
- Configuration object
- Throws:
MasterNotRunningException
- if the master is not running
ZooKeeperConnectionException
- if unable to connect to zookeeper
IOException
getErrors
public org.apache.hadoop.hbase.util.HBaseFsck.ErrorReporter getErrors()
printUsageAndExit
protected static void printUsageAndExit()
main
public static void main(String[] args)
throws Exception
- Main program
- Parameters:
args
-
- Throws:
Exception
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.