[ https://issues.apache.org/jira/browse/HBASE-13885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587404#comment-14587404 ]
Lars Hofhansl commented on HBASE-13885: --------------------------------------- Thanks. Committing tonight to all branches (after changing to use ZKUtil.isEmpty). > ZK watches leaks during snapshots > --------------------------------- > > Key: HBASE-13885 > URL: https://issues.apache.org/jira/browse/HBASE-13885 > Project: HBase > Issue Type: Bug > Components: snapshots > Affects Versions: 0.98.12 > Reporter: Abhishek Singh Chouhan > Assignee: Lars Hofhansl > Priority: Critical > Fix For: 2.0.0, 0.98.14, 1.0.2, 1.2.0, 1.1.1 > > Attachments: 13885-0.98-v2.txt, 13885-0.98-v3.txt, 13885-master.txt > > > When taking snapshot of a table a watcher over > /hbase/online-snapshot/abort/snapshot-name is created which is never cleared > when the snapshot is successful. If we use snapshots to take backups daily we > accumulate a lot of watches. > Steps to reproduce - > 1) Take snapshot of a table - snapshot 'table_1', 'abc' > 2) Run the following on zk node or alternatively observe zk watches metric > echo "wchc" | nc localhost 2181 > /hbase/online-snapshot/abort/abc can be found. -- This message was sent by Atlassian JIRA (v6.3.4#6332)