[
https://issues.apache.org/jira/browse/HBASE-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14010765#comment-14010765
]
Misty Stanley-Jones commented on HBASE-3700:
--------------------------------------------
Is this issue still an issue? It doesn't look like the guide was updated but
stack's comment leads me to believe maybe it's not an issue any longer.
> Suggestion to note close connection explicitly at exit in HBase book, and
> improve MapReduce interface by adding explicit closes
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-3700
> URL: https://issues.apache.org/jira/browse/HBASE-3700
> Project: HBase
> Issue Type: Improvement
> Components: documentation
> Reporter: Guanpeng Xu
> Priority: Minor
>
> I once had an issue of "Too many connections" in ZooKeeper while running a
> MapReduce job where tables are used in my own classes instead of the
> interface provided by HBase (e.g. TableInputFormat and TableOutputFormat
> etc). Investigation suggests this is due to many ZooKeeper's connection
> slots are occupied by remaining connections after clients exit, so that the
> free slots are not enough.
> Discussed with Lars George, I suggest we note the need of explicit close of
> connections (to ZooKeepers) in HBase book. Lars also suggests we improve
> TableOutputFormat by adding explicit calls to close methods.
--
This message was sent by Atlassian JIRA
(v6.2#6252)