HBASE-1010 IOE on regionserver shutdown because hadn't opened an HLog
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@776897 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
afe5e4077e
commit
2c502c24fc
|
@ -145,6 +145,7 @@ Release 0.20.0 - Unreleased
|
|||
waiting for ever
|
||||
HBASE-1441 NPE in ProcessRegionStatusChange#getMetaRegion
|
||||
HBASE-1162 CME in Master in RegionManager.applyActions
|
||||
HBASE-1010 IOE on regionserver shutdown because hadn't opened an HLog
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
||||
|
|
|
@ -644,7 +644,9 @@ public class HRegionServer implements HConstants, HRegionInterface,
|
|||
} else {
|
||||
ArrayList<HRegion> closedRegions = closeAllRegions();
|
||||
try {
|
||||
hlog.closeAndDelete();
|
||||
if (this.hlog != null) {
|
||||
hlog.closeAndDelete();
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
LOG.error("Close and delete failed",
|
||||
RemoteExceptionHandler.checkThrowable(e));
|
||||
|
|
Loading…
Reference in New Issue