From 964e17f7b002645bb840c9a5f94802763eda87c4 Mon Sep 17 00:00:00 2001 From: ChiaPing Tsai Date: Sat, 18 Feb 2017 19:13:47 +0800 Subject: [PATCH] HBASE-17661 fix the queue length passed to FastPathBalancedQueueRpcExecutor Signed-off-by: tedyu --- .../java/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 683346a053b..28b308f760d 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 @@ -87,7 +87,7 @@ public class SimpleRpcScheduler extends RpcScheduler implements ConfigurationObs } else { if (RpcExecutor.isFifoQueueType(callQueueType)) { callExecutor = new FastPathBalancedQueueRpcExecutor("deafult.FPBQ", handlerCount, - maxPriorityQueueLength, priority, conf, server); + maxQueueLength, priority, conf, server); } else { callExecutor = new BalancedQueueRpcExecutor("deafult.BQ", handlerCount, maxQueueLength, priority, conf, server);