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

Jonathan Hsieh updated HBASE-11554:
-----------------------------------

    Status: Patch Available  (was: Open)

The value gets set in a convoluted way.  but these lines in RpcClient only 
allow the RoundRobin and Threadlocal types

{code}
 protected static PoolType getPoolType(Configuration config) {
    return PoolType.valueOf(config.get(HConstants.HBASE_CLIENT_IPC_POOL_TYPE),
        PoolType.RoundRobin, PoolType.ThreadLocal);
  }
{code}

A follow-on patch will make use standard java enum value generation instead of 
this stuff.

> Remove Reusable poolmap Rpc client type.
> ----------------------------------------
>
>                 Key: HBASE-11554
>                 URL: https://issues.apache.org/jira/browse/HBASE-11554
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.96.0, 0.98.0, 0.99.0, 2.0.0
>            Reporter: Jonathan Hsieh
>             Fix For: 0.99.0, 0.98.5, 2.0.0
>
>         Attachments: hbase-11554.patch
>
>
> From HBASE-11313 we found that the "Reusable" RpcClient PoolType was 
> impossible to set via configuration and that it was essentially incorrct 
> because it didn't bounded instances.  This patch removes the code.



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

Reply via email to