HBase
  1. HBase
  2. HBASE-6956

Do not return back to HTablePool closed connections

    Details

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

      Description

      Sometimes we see a lot of Exception about closed connections:

       org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@553fd068 closed
      org.apache.hadoop.hbase.client.ClosedConnectionException: org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@553fd068 closed
      

      After investigation we assumed that it occurs because closed connection returns back into HTablePool.

      For our opinion best solution is check whether the table is closed in method HTablePool.putTable and if true don't add it into the queue and release such HTableInterface.

      But unfortunatly right now there are no access to HTable#closed field through HTableInterface

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Igor Yurinok
            • Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:

                Development