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

Reply via email to