hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Yuan Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13797) Fix resource leak in HBaseFsck
Date Thu, 28 May 2015 22:44:18 GMT

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

Stephen Yuan Jiang commented on HBASE-13797:
--------------------------------------------

+1 LGTM

> Fix resource leak in HBaseFsck
> ------------------------------
>
>                 Key: HBASE-13797
>                 URL: https://issues.apache.org/jira/browse/HBASE-13797
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 13797-v1.txt
>
>
> In HBaseFsck#unassignMetaReplica() , ZooKeeperWatcher is not closed upon return from
the method:
> {code}
>      ZKUtil.deleteNode(zkw, zkw.getZNodeForReplica(hi.metaEntry.getReplicaId()));
> {code}
> This leads to resource leak.



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

Mime
View raw message