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(ServerName server)
           
 boolean checkRegionChain(TableIntegrityErrorHandler handler)
          Check the region chain (from META) 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(ServerName server)

getName

public String getName()

getNumRegions

public int getNumRegions()

checkRegionChain

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

Returns:
false if there are errors
Throws:
IOException


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.