HBASE-10738 AssignmentManager should shut down executors on stop

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1577357 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jxiang 2014-03-13 22:42:02 +00:00
parent 731e2f6541
commit 5f300467b8
1 changed files with 1 additions and 0 deletions

View File

@ -3178,6 +3178,7 @@ public class AssignmentManager extends ZooKeeperListener {
} }
public void stop() { public void stop() {
shutdown(); // Stop executor service, etc
if (tomActivated){ if (tomActivated){
this.timeoutMonitor.interrupt(); this.timeoutMonitor.interrupt();
this.timerUpdater.interrupt(); this.timerUpdater.interrupt();