Skip to content

Commit 3bf6fa8

Browse files
author
huiruan
committed
fix RS_LOG_ROLL value and add rsQuotaManager back
1 parent 1300863 commit 3bf6fa8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/executor/ExecutorType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public enum ExecutorType {
5858

5959
RS_FLUSH_OPERATIONS(37),
6060
RS_RELOAD_QUOTAS_OPERATIONS(38),
61-
RS_LOG_ROLL(38);
61+
RS_LOG_ROLL(39);
6262

6363
ExecutorType(int value) {
6464
}

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2087,6 +2087,7 @@ private void initializeThreads() {
20872087

20882088
// Setup the Quota Manager
20892089
rsQuotaManager = new RegionServerRpcQuotaManager(this);
2090+
configurationManager.registerObserver(rsQuotaManager);
20902091
rsSpaceQuotaManager = new RegionServerSpaceQuotaManager(this);
20912092

20922093
if (QuotaUtil.isQuotaEnabled(conf)) {

0 commit comments

Comments
 (0)