HBASE-17661 fix the queue length passed to FastPathBalancedQueueRpcExecutor

Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
ChiaPing Tsai 2017-02-18 21:29:53 +08:00 committed by tedyu
parent 350904e90f
commit d08bafad1a
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class SimpleRpcScheduler extends RpcScheduler implements ConfigurationObs
} else { } else {
if (RpcExecutor.isFifoQueueType(callQueueType)) { if (RpcExecutor.isFifoQueueType(callQueueType)) {
callExecutor = new FastPathBalancedQueueRpcExecutor("deafult.FPBQ", handlerCount, callExecutor = new FastPathBalancedQueueRpcExecutor("deafult.FPBQ", handlerCount,
maxPriorityQueueLength, priority, conf, server); maxQueueLength, priority, conf, server);
} else { } else {
callExecutor = new BalancedQueueRpcExecutor("deafult.BQ", handlerCount, maxQueueLength, callExecutor = new BalancedQueueRpcExecutor("deafult.BQ", handlerCount, maxQueueLength,
priority, conf, server); priority, conf, server);