hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-16341 Missing bit on "Regression: Random Read/WorkloadC slower in 1.x than 0.98"
Date Mon, 15 Aug 2016 20:30:06 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 8f5b70ac3 -> f32016614


HBASE-16341 Missing bit on "Regression: Random Read/WorkloadC slower in 1.x than 0.98"


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f3201661
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f3201661
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f3201661

Branch: refs/heads/branch-1.3
Commit: f320166142c00b8bb60574d3ba7b586c07c6780c
Parents: 8f5b70a
Author: stack <stack@apache.org>
Authored: Sat Aug 13 20:16:44 2016 -0700
Committer: stack <stack@apache.org>
Committed: Mon Aug 15 13:29:59 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.java  | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/f3201661/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.java
index a516973..a1cf8c2 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.java
@@ -93,9 +93,7 @@ public class SimpleRpcScheduler extends RpcScheduler implements ConfigurationObs
       replicationExecutor.resizeQueues(conf);
     }
 
-    String callQueueType = conf.get(CALL_QUEUE_TYPE_CONF_KEY,
-      CALL_QUEUE_TYPE_DEADLINE_CONF_VALUE);
-
+    String callQueueType = conf.get(CALL_QUEUE_TYPE_CONF_KEY, CALL_QUEUE_TYPE_CONF_DEFAULT);
     if (isCodelQueueType(callQueueType)) {
       // update CoDel Scheduler tunables
       int codelTargetDelay = conf.getInt(CALL_QUEUE_CODEL_TARGET_DELAY,
@@ -181,8 +179,7 @@ public class SimpleRpcScheduler extends RpcScheduler implements ConfigurationObs
     this.highPriorityLevel = highPriorityLevel;
     this.abortable = server;
 
-    String callQueueType = conf.get(CALL_QUEUE_TYPE_CONF_KEY,
-        CALL_QUEUE_TYPE_FIFO_CONF_VALUE);
+    String callQueueType = conf.get(CALL_QUEUE_TYPE_CONF_KEY, CALL_QUEUE_TYPE_CONF_DEFAULT);
     float callqReadShare = conf.getFloat(CALL_QUEUE_READ_SHARE_CONF_KEY, 0);
     float callqScanShare = conf.getFloat(CALL_QUEUE_SCAN_SHARE_CONF_KEY, 0);
 


Mime
View raw message