@InterfaceAudience.Private @InterfaceStability.Evolving public class HbckTableInfo extends Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
HbckTableInfo.HDFSIntegrityFixer
This handler fixes integrity errors from hdfs information.
|
(package private) class |
HbckTableInfo.IntegrityFixSuggester |
Modifier and Type | Field and Description |
---|---|
(package private) List<HbckRegionInfo> |
backwards |
(package private) TreeSet<ServerName> |
deployedOn |
(package private) HBaseFsck |
hbck |
(package private) Set<TableDescriptor> |
htds |
private static org.slf4j.Logger |
LOG |
(package private) org.apache.hbase.thirdparty.com.google.common.collect.Multimap<byte[],HbckRegionInfo> |
overlapGroups |
private org.apache.hbase.thirdparty.com.google.common.collect.ImmutableList<RegionInfo> |
regionsFromMeta |
(package private) RegionSplitCalculator<HbckRegionInfo> |
sc |
(package private) Map<org.apache.hadoop.fs.Path,HbckRegionInfo> |
sidelinedRegions |
(package private) TableName |
tableName |
private static String |
TO_BE_LOADED |
Constructor and Description |
---|
HbckTableInfo(TableName name,
HBaseFsck hbck) |
Modifier and Type | Method and Description |
---|---|
void |
addRegionInfo(HbckRegionInfo hir) |
void |
addServer(ServerName server) |
boolean |
checkRegionChain(TableIntegrityErrorHandler handler)
Check the region chain (from META) of this table.
|
private void |
dump(SortedSet<byte[]> splits,
org.apache.hbase.thirdparty.com.google.common.collect.Multimap<byte[],HbckRegionInfo> regions)
This dumps data in a visually reasonable way for visual debugging
|
private void |
dumpOverlapProblems(org.apache.hbase.thirdparty.com.google.common.collect.Multimap<byte[],HbckRegionInfo> regions) |
private void |
dumpSidelinedRegions(Map<org.apache.hadoop.fs.Path,HbckRegionInfo> regions) |
TableName |
getName() |
int |
getNumRegions() |
org.apache.hbase.thirdparty.com.google.common.collect.ImmutableList<RegionInfo> |
getRegionsFromMeta(TreeMap<String,HbckRegionInfo> regionInfoMap) |
(package private) TableDescriptor |
getTableDescriptor()
Returns descriptor common to all regions.
|
private boolean |
handleOverlapsParallel(TableIntegrityErrorHandler handler,
byte[] prevKey) |
private static final org.slf4j.Logger LOG
private static final String TO_BE_LOADED
TreeSet<ServerName> deployedOn
final List<HbckRegionInfo> backwards
final Map<org.apache.hadoop.fs.Path,HbckRegionInfo> sidelinedRegions
final RegionSplitCalculator<HbckRegionInfo> sc
final Set<TableDescriptor> htds
final org.apache.hbase.thirdparty.com.google.common.collect.Multimap<byte[],HbckRegionInfo> overlapGroups
private org.apache.hbase.thirdparty.com.google.common.collect.ImmutableList<RegionInfo> regionsFromMeta
HbckTableInfo(TableName name, HBaseFsck hbck)
TableDescriptor getTableDescriptor()
public void addRegionInfo(HbckRegionInfo hir)
public void addServer(ServerName server)
public int getNumRegions()
public org.apache.hbase.thirdparty.com.google.common.collect.ImmutableList<RegionInfo> getRegionsFromMeta(TreeMap<String,HbckRegionInfo> regionInfoMap)
public boolean checkRegionChain(TableIntegrityErrorHandler handler) throws IOException
IOException
private boolean handleOverlapsParallel(TableIntegrityErrorHandler handler, byte[] prevKey) throws IOException
IOException
private void dump(SortedSet<byte[]> splits, org.apache.hbase.thirdparty.com.google.common.collect.Multimap<byte[],HbckRegionInfo> regions)
private void dumpOverlapProblems(org.apache.hbase.thirdparty.com.google.common.collect.Multimap<byte[],HbckRegionInfo> regions)
private void dumpSidelinedRegions(Map<org.apache.hadoop.fs.Path,HbckRegionInfo> regions)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.