hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14115) Fix resource leak in HMasterCommandLine
Date Wed, 22 Jul 2015 16:50:04 GMT

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

Hudson commented on HBASE-14115:
--------------------------------

SUCCESS: Integrated in HBase-1.2-IT #62 (See [https://builds.apache.org/job/HBase-1.2-IT/62/])
HBASE-14115 Fix resource leak in HMasterCommandLine (Yuhao Bi) (tedyu: rev f0042a4038486cfb17ba807134ea448617c8b94d)
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMasterCommandLine.java


> Fix resource leak in HMasterCommandLine
> ---------------------------------------
>
>                 Key: HBASE-14115
>                 URL: https://issues.apache.org/jira/browse/HBASE-14115
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 1.2.0, 1.3.0
>            Reporter: Yuhao Bi
>            Assignee: Yuhao Bi
>             Fix For: 2.0.0, 1.2.0, 1.3.0
>
>         Attachments: HBASE-14115-branch-1-v1.patch, HBASE-14115-branch-1.patch, HBASE-14115.patch
>
>
> In HMasterCommandLine#stopMaster(), admin is not closed.
> {code:title=HMasterCommandLine.java|borderStyle=solid}
> try (Connection connection = ConnectionFactory.createConnection(conf)) {
>       try (Admin admin = connection.getAdmin()) {
>         connection.getAdmin().shutdown();
>       } catch (Throwable t) {
>         LOG.error("Failed to stop master", t);
>         return 1;
>       }
>     }
> {code}



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

Mime
View raw message