HBASE-20699 QuotaCache should cancel the QuotaRefresherChore service inside its stop()
Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
parent
858eee20ec
commit
4a5fe54d94
|
@ -90,6 +90,10 @@ public class QuotaCache implements Stoppable {
|
|||
|
||||
@Override
|
||||
public void stop(final String why) {
|
||||
if (refreshChore != null) {
|
||||
LOG.debug("Stopping QuotaRefresherChore chore.");
|
||||
refreshChore.cancel(true);
|
||||
}
|
||||
stopped = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue