HBase
  1. HBase
  2. HBASE-11330

Deprecate ThreadLocal and remove Reusable from PoolMap

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Reusable is not used anywhere and ThreadLocal is not recommend. See HBASE-11313 for other details.

      So let's remove Reusable and deprecate ThreadLocal.

        Activity

        Hide
        Hiroshi Ikeda added a comment -

        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.

        Show
        Hiroshi Ikeda added a comment - 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.

          People

          • Assignee:
            Jean-Marc Spaggiari
            Reporter:
            Jean-Marc Spaggiari
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development