Class HbckReport
java.lang.Object
org.apache.hadoop.hbase.master.hbck.HbckReport
The result of an
HbckChore
execution.-
Field Summary
Modifier and TypeFieldDescriptionprivate Instant
private Instant
private final Map<String,
Pair<ServerName, List<ServerName>>> private final Map<String,
ServerName> private final Map<String,
HbckRegionInfo> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUsed for web ui to show when the HBCK checking report generated.Used for web ui to show when the HBCK checking started.The inconsistent regions.The regions have directory on FileSystem, but no region info in meta.The regions only opened on RegionServers, but no region info in meta.This map contains the state of all hbck items.void
setCheckingEndTimestamp
(Instant checkingEndTimestamp) void
setCheckingStartTimestamp
(Instant checkingStartTimestamp)
-
Field Details
-
regionInfoMap
-
disabledTableRegions
-
splitParentRegions
-
orphanRegionsOnRS
-
orphanRegionsOnFS
-
inconsistentRegions
-
checkingStartTimestamp
-
checkingEndTimestamp
-
-
Constructor Details
-
HbckReport
public HbckReport()
-
-
Method Details
-
getCheckingStartTimestamp
Used for web ui to show when the HBCK checking started. -
setCheckingStartTimestamp
-
getCheckingEndTimestamp
Used for web ui to show when the HBCK checking report generated. -
setCheckingEndTimestamp
-
getRegionInfoMap
This map contains the state of all hbck items. It maps from encoded region name to HbckRegionInfo structure. The information contained in HbckRegionInfo is used to detect and correct consistency (hdfs/meta/deployment) problems. -
getDisabledTableRegions
-
getSplitParentRegions
-
getOrphanRegionsOnRS
The regions only opened on RegionServers, but no region info in meta. -
getOrphanRegionsOnFS
The regions have directory on FileSystem, but no region info in meta. -
getInconsistentRegions
The inconsistent regions. There are three case: case 1. Master thought this region opened, but no regionserver reported it. case 2. Master thought this region opened on Server1, but regionserver reported Server2 case 3. More than one regionservers reported opened this region
-