hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-14165) The initial size of RWQueueRpcExecutor.queues should be (numWriteQueues + numReadQueues + numScanQueues)
Date Sat, 05 Sep 2015 21:39:46 GMT

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

Andrew Purtell updated HBASE-14165:
-----------------------------------
    Fix Version/s: 0.98.15

> The initial size of RWQueueRpcExecutor.queues should be (numWriteQueues + numReadQueues
+ numScanQueues) 
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-14165
>                 URL: https://issues.apache.org/jira/browse/HBASE-14165
>             Project: HBase
>          Issue Type: Improvement
>          Components: rpc
>    Affects Versions: 0.99.2
>            Reporter: cuijianwei
>            Assignee: cuijianwei
>            Priority: Minor
>             Fix For: 2.0.0, 1.3.0, 0.98.15
>
>         Attachments: HBASE-14165-trunk.patch
>
>
> The RWQueueRpcExecutor.queues will be initialized as: 
> {code}
>     queues = new ArrayList<BlockingQueue<CallRunner>>(writeHandlersCount
+ readHandlersCount);
> {code}
> It seems this could be improved as:
> {code}
>     queues = new ArrayList<BlockingQueue<CallRunner>>(numWriteQueues + numReadQueues
+ numScanQueues);
> {code}
> Suggestions are welcomed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message