org.apache.hadoop.hbase.util
Class HBaseFsck

java.lang.Object
  extended by 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.


Field Summary
static long DEFAULT_SLEEP_BEFORE_RERUN
           
static long DEFAULT_TIME_LAG
           
 
Constructor Summary
HBaseFsck(org.apache.hadoop.conf.Configuration conf)
          Constructor
 
Method Summary
 org.apache.hadoop.hbase.util.HBaseFsck.ErrorReporter getErrors()
           
static void main(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
 

Field Detail

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
Constructor Detail

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
Method Detail

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.