HBASE-12184 ServerShutdownHandler throws NPE

This commit is contained in:
Jimmy Xiang 2014-10-06 17:23:13 -07:00
parent 062adcc188
commit 8c3697b0d8
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,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);