org.apache.hadoop.hbase.util
Class HBaseFsck.TableInfo

java.lang.Object
  extended by org.apache.hadoop.hbase.util.HBaseFsck.TableInfo
Enclosing class:
HBaseFsck

public class HBaseFsck.TableInfo
extends Object

Maintain information about a particular table.


Method Summary
 void addRegionInfo(HBaseFsck.HbckInfo hir)
           
 void addServer(HServerAddress server)
           
 boolean checkRegionChain(TableIntegrityErrorHandler handler)
          Check the region chain of this table.
 String getName()
           
 int getNumRegions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addRegionInfo

public void addRegionInfo(HBaseFsck.HbckInfo hir)

addServer

public void addServer(HServerAddress server)

getName

public String getName()

getNumRegions

public int getNumRegions()

checkRegionChain

public boolean checkRegionChain(TableIntegrityErrorHandler handler)
                         throws IOException
Check the region chain of this table. We are looking for holes, overlaps, and cycles.

Returns:
false if there are errors, true if table is clean.
Throws:
IOException


Copyright © 2012 Cloudera. All Rights Reserved.