HBASE-1441 NPE in ProcessRegionStatusChange#getMetaRegion

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@776535 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-05-20 04:00:16 +00:00
parent 47a59d15aa
commit a16ee0714c
2 changed files with 5 additions and 2 deletions

View File

@ -143,6 +143,7 @@ Release 0.20.0 - Unreleased
HBASE-1438 HBASE-1421 broke the build (#602 up on hudson)
HBASE-1440 master won't go down because joined on a rootscanner that is
waiting for ever
HBASE-1441 NPE in ProcessRegionStatusChange#getMetaRegion
IMPROVEMENTS
HBASE-1089 Add count of regions on filesystem to master UI; add percentage

View File

@ -71,8 +71,10 @@ abstract class ProcessRegionStatusChange extends RegionServerOperation {
} else {
this.metaRegion =
master.regionManager.getFirstMetaRegionForRegion(regionInfo);
if (this.metaRegion != null) {
this.metaRegionName = this.metaRegion.getRegionName();
}
}
return this.metaRegion;
}
}