HBASE-20808 (Addendum) Remove duplicate calls for cancelling of chores

Signed-off-by: Reid Chan <reidchan@apache.org>
This commit is contained in:
Nihal Jain 2018-07-06 18:27:08 +05:30 committed by Reid Chan
parent 1ade4d2f44
commit 361be53344
1 changed files with 0 additions and 4 deletions

View File

@ -1048,10 +1048,6 @@ public class HRegionServer extends HasThread implements
if (this.hMemManager != null) this.hMemManager.stop();
if (this.cacheFlusher != null) this.cacheFlusher.interruptIfNecessary();
if (this.compactSplitThread != null) this.compactSplitThread.interruptIfNecessary();
if (this.compactionChecker != null) this.compactionChecker.cancel(true);
if (this.healthCheckChore != null) this.healthCheckChore.cancel(true);
if (this.nonceManagerChore != null) this.nonceManagerChore.cancel(true);
if (this.storefileRefresher != null) this.storefileRefresher.cancel(true);
sendShutdownInterrupt();
// Stop the snapshot and other procedure handlers, forcefully killing all running tasks