Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6956

Do not return back to HTablePool closed connections

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 0.90.6
    • None
    • Client
    • 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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iyurinok Igor Yurinok
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: