Description
While debugging something else, I've noticed that HBASE-12422 changed it so that new HTable(Configuration, TableName) is not using managed connections anymore.
I thought the plan was to keep new HTable(Conf, TableName) to still use managed connections, but allow the new APIs to have un-managed connections. With HBASE-12422, there is a big compatibility change for used of the HTable interface that suddenly they will be launching connections per HTable instance which is a behavioral change and expensive (with all the meta cache, zk threads, thread pool, etc). I fear that this will catch unsuspecting users by surprise, that is why I think we should revert back to the deprecated behavior for 1.0. For master we do not need to make the change, but document it.
sduskis, saint.ack@gmail.com, ndimiduk what do you guys think?
Attachments
Attachments
Issue Links
- breaks
-
HBASE-13027 mapreduce.TableInputFormatBase should create its own Connection if needed
- Closed
- is related to
-
HBASE-12833 [shell] table.rb leaks connections
- Closed
-
HBASE-12876 TestScannerWithBulkload should pass Table with unmanaged connection to LoadIncrementalHFiles#doBulkLoad()
- Closed