HBASE-17602 Reduce some quota chore periods/delays
This commit is contained in:
parent
f031b69969
commit
8159eae781
|
@ -55,11 +55,11 @@ public class QuotaObserverChore extends ScheduledChore {
|
|||
private static final Log LOG = LogFactory.getLog(QuotaObserverChore.class);
|
||||
static final String QUOTA_OBSERVER_CHORE_PERIOD_KEY =
|
||||
"hbase.master.quotas.observer.chore.period";
|
||||
static final int QUOTA_OBSERVER_CHORE_PERIOD_DEFAULT = 1000 * 60 * 5; // 5 minutes in millis
|
||||
static final int QUOTA_OBSERVER_CHORE_PERIOD_DEFAULT = 1000 * 60 * 1; // 1 minutes in millis
|
||||
|
||||
static final String QUOTA_OBSERVER_CHORE_DELAY_KEY =
|
||||
"hbase.master.quotas.observer.chore.delay";
|
||||
static final long QUOTA_OBSERVER_CHORE_DELAY_DEFAULT = 1000L * 60L; // 1 minute
|
||||
static final long QUOTA_OBSERVER_CHORE_DELAY_DEFAULT = 1000L * 15L; // 15 seconds in millis
|
||||
|
||||
static final String QUOTA_OBSERVER_CHORE_TIMEUNIT_KEY =
|
||||
"hbase.master.quotas.observer.chore.timeunit";
|
||||
|
|
|
@ -44,11 +44,11 @@ public class SpaceQuotaRefresherChore extends ScheduledChore {
|
|||
|
||||
static final String POLICY_REFRESHER_CHORE_PERIOD_KEY =
|
||||
"hbase.regionserver.quotas.policy.refresher.chore.period";
|
||||
static final int POLICY_REFRESHER_CHORE_PERIOD_DEFAULT = 1000 * 60 * 5; // 5 minutes in millis
|
||||
static final int POLICY_REFRESHER_CHORE_PERIOD_DEFAULT = 1000 * 60 * 1; // 1 minute in millis
|
||||
|
||||
static final String POLICY_REFRESHER_CHORE_DELAY_KEY =
|
||||
"hbase.regionserver.quotas.policy.refresher.chore.delay";
|
||||
static final long POLICY_REFRESHER_CHORE_DELAY_DEFAULT = 1000L * 60L; // 1 minute
|
||||
static final long POLICY_REFRESHER_CHORE_DELAY_DEFAULT = 1000L * 15L; // 15 seconds in millis
|
||||
|
||||
static final String POLICY_REFRESHER_CHORE_TIMEUNIT_KEY =
|
||||
"hbase.regionserver.quotas.policy.refresher.chore.timeunit";
|
||||
|
|
Loading…
Reference in New Issue