You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hiroshi Ikeda (JIRA)" <ji...@apache.org> on 2015/08/25 10:30:46 UTC

[jira] [Commented] (HBASE-11330) Deprecate ThreadLocal and remove Reusable from PoolMap

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

Hiroshi Ikeda commented on HBASE-11330:
---------------------------------------

For RpcClientImpl, threads to put to PoolMap differ from threads to remove from it, and using ThreadLocal PoolMap always makes RpcClientImpl unstoppable, as far as I know. It is a complete bug to enable to use ThreadLocal PoolMap for RpcClientImpl.

> Deprecate ThreadLocal and remove Reusable from PoolMap
> ------------------------------------------------------
>
>                 Key: HBASE-11330
>                 URL: https://issues.apache.org/jira/browse/HBASE-11330
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Marc Spaggiari
>            Assignee: Jean-Marc Spaggiari
>
> Reusable is not used anywhere and ThreadLocal is not recommend. See HBASE-11313 for other details.
> So let's remove Reusable and deprecate ThreadLocal.



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