HBASE-21740 Fix NPE while shutting down RS
This commit is contained in:
parent
40e1d9174e
commit
7be71c0f55
|
@ -1976,7 +1976,9 @@ public class HRegionServer extends HasThread implements
|
|||
|
||||
Threads.setDaemonThreadRunning(this.walRoller.getThread(), getName() + ".logRoller",
|
||||
uncaughtExceptionHandler);
|
||||
this.cacheFlusher.start(uncaughtExceptionHandler);
|
||||
if (this.cacheFlusher != null) {
|
||||
this.cacheFlusher.start(uncaughtExceptionHandler);
|
||||
}
|
||||
Threads.setDaemonThreadRunning(this.procedureResultReporter,
|
||||
getName() + ".procedureResultReporter", uncaughtExceptionHandler);
|
||||
|
||||
|
|
Loading…
Reference in New Issue