hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karthik K <oss....@gmail.com>
Subject Re: deleting a node - command line tool
Date Fri, 26 Mar 2010 19:36:38 GMT
Thanks everyone for the replies. ZOOKEEPER-729 in place, with the patch.



As I see - what I want is a recursive delete. I will try to get an
implementation

On Fri, Mar 26, 2010 at 10:15 AM, Henry Robinson <henry@cloudera.com> wrote:

> Making delete optionally recursive would be a nice patch to have
> (hint, hint ;)).
>
> I'm not sure if the cli allows for a one-shot command (i.e.
> bin/zkCli.sh -server localhost:2181 -exec delete /katta) - but if it
> doesn't, it shouldn't be hard to add.
>
> Henry
>
> On 26 March 2010 10:06, Nick Dimiduk <ndimiduk@gmail.com> wrote:
> > The delete command provided by bin/zkCli.sh will delete a leaf node but
> is
> > not recursive. I don't have a copy on my desk, but I believe there's code
> in
> > the O'Reilly Hadoop book for recursive node delete.
> >
> > -Nick
> >
> > On Fri, Mar 26, 2010 at 9:42 AM, Karthik K <oss.akk@gmail.com> wrote:
> >
> >> Hi -
> >>  I am looking to delete a node (say, /katta) from a running zk ensemble
> >> altogether and curious if there is any command-line tool that is
> available
> >> that can do a delete.
> >>
> >> --
> >>   Karthik.
> >>
> >
>
>
>
> --
> Henry Robinson
> Software Engineer
> Cloudera
> 415-994-6679
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message