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

Ted Yu commented on HBASE-14088:
--------------------------------

{code}
    try (Connection conn = ConnectionFactory.createConnection(conf);
        Admin admin = conn.getAdmin()) {
{code}
conn would be closed by the try-with-resources construct.

> Close Connection in LoadTestTool#applyColumnFamilyOptions
> ---------------------------------------------------------
>
>                 Key: HBASE-14088
>                 URL: https://issues.apache.org/jira/browse/HBASE-14088
>             Project: HBase
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 2.0.0
>            Reporter: Samir Ahmic
>            Assignee: Samir Ahmic
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14088.patch
>
>
> We never close connection in LoadTestTool#applyColumnFamilyOptions



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to