diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaCache.java index 927816ad6c5..0664cc51191 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaCache.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaCache.java @@ -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; }