hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7847) Use zookeeper multi to clear znodes
Date Fri, 14 Mar 2014 05:19:45 GMT

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

Mime
View raw message