org.apache.hadoop.hbase.util
Class HBaseFsck
java.lang.Object
org.apache.hadoop.hbase.util.HBaseFsck
public class HBaseFsck
- extends java.lang.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 |
|
Method Summary |
static void |
main(java.lang.String[] args)
Main program |
protected static void |
printUsageAndExit()
|
| 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,
java.io.IOException
- Constructor
- Parameters:
conf - Configuration object
- Throws:
MasterNotRunningException - if the master is not running
ZooKeeperConnectionException - if unable to connect to zookeeper
java.io.IOException
printUsageAndExit
protected static void printUsageAndExit()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Main program
- Parameters:
args -
- Throws:
java.lang.Exception
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.