You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Stephen Yuan Jiang (JIRA)" <ji...@apache.org> on 2015/05/29 00:44:18 UTC

[jira] [Commented] (HBASE-13797) Fix resource leak in HBaseFsck

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