Home | About | Sematext search-lucene.com search-hadoop.com
 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
Mahadev Konar 2011-10-25, 20:25
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