[ 
https://issues.apache.org/jira/browse/HBASE-9117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820270#comment-13820270
 ] 

Nicolas Liochon commented on HBASE-9117:
----------------------------------------

bq. the createConnections have a corresponding close?
Yes. Creating/Closing a connection is supposed to be expensive. It holds a 
connection to ZooKeeper, the region cache, this kind of stuff. I will need to 
look at the patch in details, but I'm not sure this part have been removed.

> Remove HTablePool and all HConnection pooling related APIs
> ----------------------------------------------------------
>
>                 Key: HBASE-9117
>                 URL: https://issues.apache.org/jira/browse/HBASE-9117
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Nick Dimiduk
>             Fix For: 0.98.0
>
>         Attachments: HBASE-9117.00.patch
>
>
> The recommended way is now:
> # Create an HConnection: HConnectionManager.createConnection(...)
> # Create a light HTable: HConnection.getTable(...)
> # table.close()
> # connection.close()
> All other API and pooling will be removed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to