org.apache.hadoop.hbase.util
Class HBaseFsck.TableInfo
java.lang.Object
org.apache.hadoop.hbase.util.HBaseFsck.TableInfo
- Enclosing class:
- HBaseFsck
public class HBaseFsck.TableInfo
- extends Object
Maintain information about a particular table.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 © 2015 The Apache Software Foundation. All Rights Reserved.