[
https://issues.apache.org/jira/browse/HBASE-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106722#comment-13106722
]
Ted Yu commented on HBASE-4417:
-------------------------------
Corrected minor formatting issue. e.g. catch should follow curly brace:
{code}
try {
admin.close();
} catch (IOException ioe) {
{code}
Also tab should be two spaces.
Integrated to branch and TRUNK.
Thanks for the patch Stefan.
> HBaseAdmin.checkHBaseAvailable() doesn't close ZooKeeper connections
> --------------------------------------------------------------------
>
> Key: HBASE-4417
> URL: https://issues.apache.org/jira/browse/HBASE-4417
> Project: HBase
> Issue Type: Bug
> Components: client
> Affects Versions: 0.90.4, 0.92.0
> Reporter: Stefan Seelmann
> Assignee: Stefan Seelmann
> Priority: Minor
> Fix For: 0.92.0, 0.90.5
>
> Attachments: HBASE-4417-0.90.diff, HBASE-4417-0.90.diff.v2,
> HBASE-4417-0.92.diff, HBASE-4417-0.92.diff.v2
>
>
> HBaseAdmin.checkHBaseAvailable(conf) clones the passed connection, later in
> HBaseAdmin constructor the connection is cloned again. Thus a new HConnection
> object with ZooKeeper connections is created.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira