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

java.lang.Object
  extended by org.apache.hadoop.hbase.util.HBaseFsck.HbckInfo
All Implemented Interfaces:
KeyRange
Enclosing class:
HBaseFsck

public static class HBaseFsck.HbckInfo
extends Object
implements KeyRange

Maintain information about a particular region. It gathers information from three places -- HDFS, META, and region servers.


Method Summary
 void addServer(HRegionInfo hri, ServerName server)
           
 byte[] getEndKey()
           
 byte[] getRegionName()
           
 String getRegionNameAsString()
           
 byte[] getStartKey()
           
 byte[] getTableName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

addServer

public void addServer(HRegionInfo hri,
                      ServerName server)

toString

public String toString()
Overrides:
toString in class Object

getStartKey

public byte[] getStartKey()
Specified by:
getStartKey in interface KeyRange

getEndKey

public byte[] getEndKey()
Specified by:
getEndKey in interface KeyRange

getTableName

public byte[] getTableName()

getRegionNameAsString

public String getRegionNameAsString()

getRegionName

public byte[] getRegionName()


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