[ https://issues.apache.org/jira/browse/HBASE-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934630#comment-13934630 ]
Rakesh R commented on HBASE-7847: --------------------------------- bq.Has it always been there? Yes Stack, you are right. This is not an exposed api from ZK and I feel its not safe to use directly. How about bringing the same traversal logic to HBase instead of depending on ZKUtil#listSubTreeBFS , I'll have a try. > Use zookeeper multi to clear znodes > ----------------------------------- > > Key: HBASE-7847 > URL: https://issues.apache.org/jira/browse/HBASE-7847 > Project: HBase > Issue Type: Sub-task > Reporter: Ted Yu > Attachments: 7847-v1.txt, HBASE-7847.patch, HBASE-7847.patch, > HBASE-7847.patch > > > In ZKProcedureUtil, clearChildZNodes() and clearZNodes(String procedureName) > should utilize zookeeper multi so that they're atomic -- This message was sent by Atlassian JIRA (v6.2#6252)