File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
hbase-server/src/main/java/org/apache/hadoop/hbase/master Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -706,6 +706,10 @@ private void checkServer(RegionLocations locations) {
706706 // This should never happen but if it does, will mess up below.
707707 continue ;
708708 }
709+ // Skip split parent region
710+ if (location .getRegion ().isSplitParent ()) {
711+ continue ;
712+ }
709713 // skip the offline regions which belong to disabled table.
710714 if (isTableDisabled (location .getRegion ())) {
711715 continue ;
Original file line number Diff line number Diff line change @@ -227,6 +227,9 @@ private void loadRegionsFromRSReport() {
227227 HbckRegionInfo hri = entry .getValue ();
228228 ServerName locationInMeta = hri .getMetaEntry ().getRegionServer ();
229229 if (hri .getDeployedOn ().size () == 0 ) {
230+ if (locationInMeta == null ) {
231+ continue ;
232+ }
230233 // skip the offline region which belong to disabled table.
231234 if (disabledTableRegions .contains (encodedRegionName )) {
232235 continue ;
You can’t perform that action at this time.
0 commit comments