Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
-
Incompatible change, Reviewed
-
HTablePool was deprecated in 0.98.1 but was still present and usable by apps built against versions before HBase 2.0. It has been moved and is not intended to be used by user applications, and is now an internal part of the thrift2 proxy server only.
Description
Thrift2 is the only place in the core hbase project where HTablePool is used. HTablePool is currently marked deprecated since 0.98.1 and users have been discouraged from using it for a while.
This patch moves HTablePool to the hbase-thrift module so that we remove it from the core client api and group it with the piece of code it is used by.
We got here because HBASE-11554 attempted to remove what seemed to Reusable pooltype, and it ended up that thrift2 defaulted to this Reusable type.