Modifier and Type | Class and Description |
---|---|
private class |
HBaseFsck.TableInfo.HDFSIntegrityFixer
This handler fixes integrity errors from hdfs information.
|
private class |
HBaseFsck.TableInfo.IntegrityFixSuggester |
Modifier and Type | Field and Description |
---|---|
(package private) List<HBaseFsck.HbckInfo> |
backwards |
(package private) TreeSet<ServerName> |
deployedOn |
(package private) Set<HTableDescriptor> |
htds |
(package private) com.google.common.collect.Multimap<byte[],HBaseFsck.HbckInfo> |
overlapGroups |
private com.google.common.collect.ImmutableList<HRegionInfo> |
regionsFromMeta |
(package private) RegionSplitCalculator<HBaseFsck.HbckInfo> |
sc |
(package private) Map<org.apache.hadoop.fs.Path,HBaseFsck.HbckInfo> |
sidelinedRegions |
(package private) TableName |
tableName |
Constructor and Description |
---|
HBaseFsck.TableInfo(TableName name) |
Modifier and Type | Method and Description |
---|---|
void |
addRegionInfo(HBaseFsck.HbckInfo hir) |
void |
addServer(ServerName server) |
boolean |
checkRegionChain(TableIntegrityErrorHandler handler)
Check the region chain (from META) of this table.
|
(package private) void |
dump(SortedSet<byte[]> splits,
com.google.common.collect.Multimap<byte[],HBaseFsck.HbckInfo> regions)
This dumps data in a visually reasonable way for visual debugging
|
private HTableDescriptor |
getHTD() |
TableName |
getName() |
int |
getNumRegions() |
com.google.common.collect.ImmutableList<HRegionInfo> |
getRegionsFromMeta() |
private boolean |
handleOverlapsParallel(TableIntegrityErrorHandler handler,
byte[] prevKey) |
TableName tableName
TreeSet<ServerName> deployedOn
final List<HBaseFsck.HbckInfo> backwards
final Map<org.apache.hadoop.fs.Path,HBaseFsck.HbckInfo> sidelinedRegions
final RegionSplitCalculator<HBaseFsck.HbckInfo> sc
final Set<HTableDescriptor> htds
final com.google.common.collect.Multimap<byte[],HBaseFsck.HbckInfo> overlapGroups
private com.google.common.collect.ImmutableList<HRegionInfo> regionsFromMeta
HBaseFsck.TableInfo(TableName name)
private HTableDescriptor getHTD()
public void addRegionInfo(HBaseFsck.HbckInfo hir)
public void addServer(ServerName server)
public TableName getName()
public int getNumRegions()
public com.google.common.collect.ImmutableList<HRegionInfo> getRegionsFromMeta()
public boolean checkRegionChain(TableIntegrityErrorHandler handler) throws IOException
IOException
private boolean handleOverlapsParallel(TableIntegrityErrorHandler handler, byte[] prevKey) throws IOException
IOException
void dump(SortedSet<byte[]> splits, com.google.common.collect.Multimap<byte[],HBaseFsck.HbckInfo> regions)
splits
- regions
- Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.