hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14088) Close Connection in LoadTestTool#applyColumnFamilyOptions
Date Wed, 15 Jul 2015 16:51:04 GMT

    [ 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)

Mime
View raw message