You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ChiaPing Tsai (JIRA)" <ji...@apache.org> on 2017/02/18 11:13:44 UTC

[jira] [Updated] (HBASE-17661) fix the queue length passed to FastPathBalancedQueueRpcExecutor

     [ https://issues.apache.org/jira/browse/HBASE-17661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ChiaPing Tsai updated HBASE-17661:
----------------------------------
    Summary: fix the queue length passed to FastPathBalancedQueueRpcExecutor  (was: fix the queue size passed to FastPathBalancedQueueRpcExecutor)

> fix the queue length passed to FastPathBalancedQueueRpcExecutor
> ---------------------------------------------------------------
>
>                 Key: HBASE-17661
>                 URL: https://issues.apache.org/jira/browse/HBASE-17661
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ChiaPing Tsai
>            Priority: Minor
>             Fix For: 2.0.0, 1.4.0
>
>
> {code:title=SimpleRpcScheduler.java|borderStyle=solid}
>     if (callqReadShare > 0) {
>       // at least 1 read handler and 1 write handler
>       callExecutor = new RWQueueRpcExecutor("deafult.RWQ", Math.max(2, handlerCount),
>         maxQueueLength, priority, conf, server);
>     } else {
>       if (RpcExecutor.isFifoQueueType(callQueueType)) {
>         callExecutor = new FastPathBalancedQueueRpcExecutor("deafult.FPBQ", handlerCount,
>             maxPriorityQueueLength, priority, conf, server);
>     } else {
>         callExecutor = new BalancedQueueRpcExecutor("deafult.BQ", handlerCount, maxQueueLength,
>             priority, conf, server);
>       }
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)