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

Ted Yu updated HBASE-17661:
---------------------------
      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

> 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: CHIA-PING TSAI
>            Assignee: CHIA-PING TSAI
>            Priority: Minor
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-17661.branch-1.v0.patch, HBASE-17661.v0.patch
>
>
> {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)

Reply via email to