[ANNOUNCE] Apache ZooKeeper 3.3.0
The Apache ZooKeeper team is proud to announce Apache ZooKeeper version 3.3.0. ZooKeeper is a high-performance coordination service for distributed applications. It exposes common services - such as naming, configuration management, synchronization, and group services - in a simple interface so you don't have to write them from scratch. You can use it off-the-shelf to implement consensus, group management, leader election, and presence protocols. And you can build on it for your own, specific needs. Key features of the 3.3.0 release: * observers - non-voting members of the ensemble, scale reads http://bit.ly/9wPnpq * distributed queue recipe implementation (c/java) * additional 4letterword/jmx features to support operations * maven repository support * build support for eclipse project generation * ivy based build Changes in contrib: * zookeeper-tree: export/import znode namespace * zooinspector: gui browser for znode namespace * bookkeeper client rewrite, use of netty For ZooKeeper release details and downloads, visit: http://hadoop.apache.org/zookeeper/releases.html ZooKeeper 3.3.0 Release Notes are at: http://hadoop.apache.org/zookeeper/docs/r3.3.0/releasenotes.html Regards, The ZooKeeper Team
Re: deleting a node - command line tool
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 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 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 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 >
Re: deleting a node - command line tool
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 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 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
Re: deleting a node - command line tool
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 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. >
Re: deleting a node - command line tool
Hi Karthik, You can use bin/zkCli.sh which provides a nice command line shell interface for executing commands. Thanks mahadev On 3/26/10 9:42 AM, "Karthik K" 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.
Re: deleting a node - command line tool
In this doc http://hadoop.apache.org/zookeeper/docs/r3.2.2/zookeeperAdmin.html#sc_zkMulitServerSetup It gives you the command for the ZK shell, which has what you need. $ java -cp zookeeper.jar:src/java/lib/log4j-1.2.15.jar:conf:src/java/lib/jline-0.9.94.jar \ org.apache.zookeeper.ZooKeeperMain -server 127.0.0.1:2181 J-D On Fri, Mar 26, 2010 at 9:42 AM, Karthik K 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. >
deleting a node - command line tool
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.