Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> Recursive node deletion


Copy link to this message
-
Re: Recursive node deletion
Dima,
 You can use ZKUtil.java in 3.4 (being voted on) to do the recursive
delete for you.

thanks
mahadev

On Tue, Oct 25, 2011 at 12:29 PM, Dima Gutzeit <[EMAIL PROTECTED]> wrote:
> Dear list members,
>
> At the moment if I need to delete some node that has child nodes which in it's turn have child nodes I have traverse the whole tree and to delete children before I can delete parent.
>
> What is the logic behind it and why can't I delete a node that has children ?
>
> Regards,
> Dima Gutzeit.
>
> Sent from my iPhone
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB