Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
0.90.6
-
None
-
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
- relates to
-
HBASE-6651 Improve thread safety of HTablePool
- Closed
-
HBASE-6580 Deprecate HTablePool in favor of HConnection.getTable(...)
- Closed