Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-760

Thrift2 throws errors after reconnecting to Zookeeper

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH 5.4.7, CDH 5.5.0, CDH 5.3.8, CDH 5.4.8, CDH 5.5.4, CDH 5.3.9, CDH 5.3.10, CDH 5.4.9, CDH 5.4.10, CDH 5.5.1, CDH 5.5.2, CDH 5.6.0, CDH 5.6.1
    • Fix Version/s: CDH 5.7.0
    • Component/s: HBase
    • Labels:
      None

      Description

      Thrift2 server uses the ConnectionCache to get Tables and then put them to the HTablePool. Next time it uses Table cached by HTablePool, but it doesn't check if Table has active connection or call updateAccessTime on ConnectionCache to keep connection aliave.
      If ConnectionCache close connection to given table, then HTablePool return table with closed connection.

      This bug is caused by applying https://issues.apache.org/jira/browse/HBASE-13437 without https://issues.apache.org/jira/browse/HBASE-13201.

      The workaroud is to disable HTablePool by:

      <property>
        <name>hbase.thrift.htablepool.size.max</name>
        <value>0</value>
      </property>
      

        Attachments

          Activity

            People

            • Assignee:
              busbey Sean Busbey
              Reporter:
              pawelkucharski Pawel Kucharski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: