Details
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>