HBASE-12184 ServerShutdownHandler throws NPE

This commit is contained in:
Jimmy Xiang 2014-10-06 17:23:13 -07:00
parent ed17aacbba
commit 61528378e2
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ public class ServerShutdownHandler extends EventHandler {
mfs.prepareLogReplay(serverName, hris);
} else {
LOG.info("Splitting logs for " + serverName +
" before assignment; region count=" + hris.size());
" before assignment; region count=" + (hris == null ? 0 : hris.size()));
this.services.getMasterFileSystem().splitLog(serverName);
}
am.getRegionStates().logSplit(serverName);