hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11313) RpcClient should allow Reusable pool option.
Date Wed, 11 Jun 2014 15:18:02 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027860#comment-14027860
] 

Jonathan Hsieh commented on HBASE-11313:
----------------------------------------

I don't have code yet so if you want to take it go aehad.  Let's close this as won't fix and
file a new issue to deprecate ThreadLocal and just remove Reusable (since you can never activate
it).  Once we branch 1.0 we can remove ThreadLocal.  When we only have one pool type, I vote
to just remove the no longer needed layer to simplify the code.

> RpcClient should allow Reusable pool option.
> --------------------------------------------
>
>                 Key: HBASE-11313
>                 URL: https://issues.apache.org/jira/browse/HBASE-11313
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.99.0, 0.98.3
>            Reporter: Jean-Marc Spaggiari
>            Assignee: Jean-Marc Spaggiari
>            Priority: Minor
>         Attachments: HBASE-11313-v0-trunk.patch
>
>
> RpcClient.getPoolType check the pool choice against ThreadLocal and RoundRobin. However,
we have a 3rd pooltype already in, Reusable. We should allow in this getPoolType check.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message