HBASE-14109 NPE if we don't load fully before we are shutdown
This commit is contained in:
parent
d4a04d6216
commit
d887e4cf1a
|
@ -479,7 +479,7 @@ public class ProcedureExecutor<TEnvironment> {
|
|||
}
|
||||
|
||||
// Initialize procedures timeout handler (this is the +1 thread)
|
||||
threads[numThreads] = new Thread("ProcedureExecutorTimeoutThread") {
|
||||
threads[numThreads] = new Thread("ProcedureExecutorTimeout") {
|
||||
@Override
|
||||
public void run() {
|
||||
timeoutLoop();
|
||||
|
|
|
@ -909,7 +909,9 @@ public class HRegionServer extends HasThread implements
|
|||
}
|
||||
|
||||
// Start the Quota Manager
|
||||
rsQuotaManager.start(getRpcServer().getScheduler());
|
||||
if (this.rsQuotaManager != null) {
|
||||
rsQuotaManager.start(getRpcServer().getScheduler());
|
||||
}
|
||||
|
||||
// We registered with the Master. Go into run mode.
|
||||
long lastMsg = System.currentTimeMillis();
|
||||
|
|
Loading…
Reference in New Issue