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:
parent
731e2f6541
commit
5f300467b8
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue