HBASE-23041 Should not show split parent regions in HBCK report's unknown server part (#634)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
20bfb43db6
commit
a0e8723b73
|
@ -706,6 +706,10 @@ public class CatalogJanitor extends ScheduledChore {
|
|||
// This should never happen but if it does, will mess up below.
|
||||
continue;
|
||||
}
|
||||
// Skip split parent region
|
||||
if (location.getRegion().isSplitParent()) {
|
||||
continue;
|
||||
}
|
||||
// skip the offline regions which belong to disabled table.
|
||||
if (isTableDisabled(location.getRegion())) {
|
||||
continue;
|
||||
|
|
|
@ -227,6 +227,9 @@ public class HbckChore extends ScheduledChore {
|
|||
HbckRegionInfo hri = entry.getValue();
|
||||
ServerName locationInMeta = hri.getMetaEntry().getRegionServer();
|
||||
if (hri.getDeployedOn().size() == 0) {
|
||||
if (locationInMeta == null) {
|
||||
continue;
|
||||
}
|
||||
// skip the offline region which belong to disabled table.
|
||||
if (disabledTableRegions.contains(encodedRegionName)) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue