@InterfaceAudience.Private public class HbckReport extends Object
HbckChore
execution.Modifier and Type | Field and Description |
---|---|
private Instant |
checkingEndTimestamp |
private Instant |
checkingStartTimestamp |
private Set<String> |
disabledTableRegions |
private Map<String,Pair<ServerName,List<ServerName>>> |
inconsistentRegions |
private Map<String,org.apache.hadoop.fs.Path> |
orphanRegionsOnFS |
private Map<String,ServerName> |
orphanRegionsOnRS |
private Map<String,HbckRegionInfo> |
regionInfoMap |
private Set<String> |
splitParentRegions |
Constructor and Description |
---|
HbckReport() |
Modifier and Type | Method and Description |
---|---|
Instant |
getCheckingEndTimestamp()
Used for web ui to show when the HBCK checking report generated.
|
Instant |
getCheckingStartTimestamp()
Used for web ui to show when the HBCK checking started.
|
Set<String> |
getDisabledTableRegions() |
Map<String,Pair<ServerName,List<ServerName>>> |
getInconsistentRegions()
The inconsistent regions.
|
Map<String,org.apache.hadoop.fs.Path> |
getOrphanRegionsOnFS()
The regions have directory on FileSystem, but no region info in meta.
|
Map<String,ServerName> |
getOrphanRegionsOnRS()
The regions only opened on RegionServers, but no region info in meta.
|
Map<String,HbckRegionInfo> |
getRegionInfoMap()
This map contains the state of all hbck items.
|
Set<String> |
getSplitParentRegions() |
void |
setCheckingEndTimestamp(Instant checkingEndTimestamp) |
void |
setCheckingStartTimestamp(Instant checkingStartTimestamp) |
private final Map<String,HbckRegionInfo> regionInfoMap
private final Set<String> disabledTableRegions
private final Set<String> splitParentRegions
private final Map<String,ServerName> orphanRegionsOnRS
private final Map<String,org.apache.hadoop.fs.Path> orphanRegionsOnFS
private final Map<String,Pair<ServerName,List<ServerName>>> inconsistentRegions
private Instant checkingStartTimestamp
private Instant checkingEndTimestamp
public HbckReport()
public Instant getCheckingStartTimestamp()
public void setCheckingStartTimestamp(Instant checkingStartTimestamp)
public Instant getCheckingEndTimestamp()
public void setCheckingEndTimestamp(Instant checkingEndTimestamp)
public Map<String,HbckRegionInfo> getRegionInfoMap()
public Set<String> getDisabledTableRegions()
public Set<String> getSplitParentRegions()
public Map<String,ServerName> getOrphanRegionsOnRS()
public Map<String,org.apache.hadoop.fs.Path> getOrphanRegionsOnFS()
public Map<String,Pair<ServerName,List<ServerName>>> getInconsistentRegions()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.