[
https://issues.apache.org/jira/browse/HBASE-12247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170154#comment-14170154
]
stack commented on HBASE-12247:
-------------------------------
bq. You said something about connection counting
Yeah, that is how it worked in the old days. See
http://hbase.apache.org/0.94/xref/org/apache/hadoop/hbase/client/HConnectionManager.html#156
Looking, in
http://hbase.apache.org/0.94/xref/org/apache/hadoop/hbase/mapreduce/TableInputFormatBase.html#1,
this refcounting may have been how tables were closed back then.
Is it hard shoehorning in a close [~sduskis] in this new regime?
> Use a user managed connection in TableInputFormat
> -------------------------------------------------
>
> Key: HBASE-12247
> URL: https://issues.apache.org/jira/browse/HBASE-12247
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0, 0.99.2
> Reporter: Solomon Duskis
> Assignee: Solomon Duskis
>
> TableInputFormat uses a new HTable() that manages its own connection. Switch
> that use to a manually created ConnectionFactory and then close it at the end
> of the operation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)