Skip to content

Commit

Permalink
HBASE-23041 Should not show split parent regions in HBCK report's unk…
Browse files Browse the repository at this point in the history
…nown server part (#634)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
  • Loading branch information
infraio committed Sep 19, 2019
1 parent 79e6a95 commit abd7ece
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -227,6 +227,9 @@ private void loadRegionsFromRSReport() {
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;
Expand Down

0 comments on commit abd7ece

Please sign in to comment.