Let me describe the scenario. Accumulo was installed earlier but has been removed now. Before installing Accumulo I want to clean any ZK node related to it. Below please see the details. I do not have any node called 'instances' in ZK. As I could not use addauth and remove the nodes, I found some doc on using skipACL=YES in zookeeper manual and was wondering if that may enable me to clean. Thanks for looking at it.
<property> <name>instance.secret</name> <value>DEFAULT</value> [zk: localhost:2181(CONNECTED) 1] addauth digest accumulo:DEFAULT[zk: localhost:2181(CONNECTED) 2] rmr /accumuloAuthentication is not valid : /accumulo/31d38c2a-3a26-49b3-a786-42d7e1e5d2b0/users/root[zk: localhost:2181(CONNECTED) 3] ls /[accumulo, admin, zookeeper, consumers, config, hbase-unsecure, storm, brokers, controller_epoch][zk: localhost:2181(CONNECTED) 4] rmr /accumulo/31d38c2a-3a26-49b3-a786-42d7e1e5d2b0/users/root Authentication is not valid : /accumulo/31d38c2a-3a26-49b3-a786-42d7e1e5d2b0/users/root [zk: localhost:2181(CONNECTED) 15] getAcl /accumulo/31d38c2a-3a26-49b3-a786-42d7e1e5d2b0/users'world,'anyone: r'digest,'accumulo:diZNqb4D71cy0fGxC3meE2ZYWyE=: cdrwa > Date: Wed, 1 Oct 2014 22:29:42 -0400 > From: josh.el...@gmail.com > To: user@accumulo.apache.org > Subject: Re: Removing 'accumulo' from Zookeeper > > You definitely want "addauth", not "setacl". > > "secret" is the value of instance.secret in accumulo-site.xml. > > craig w wrote: > > I'd double check that "secret" is correct and perhaps do you mean to > > use "addauth"? > > > > On Wed, Oct 1, 2014 at 8:10 PM, Ranjan Sen <ranjan_...@hotmail.com > > <mailto:ranjan_...@hotmail.com>> wrote: > > > > Hi Accumulo users, > > > > I have a accumulo znode that I want to remove from zookeeper. I > > tried to use the > > > > setAcl digest accumulo:secret > > > > but it is not working when I try to remove it > > > > [zk: localhost:2181(CONNECTED) 11] rmr > > /accumulo/31d38c2a-3a26-49b3-a786-42d7e1e5d2b0/users/root > > > > Authentication is not valid : > > /accumulo/31d38c2a-3a26-49b3-a786-42d7e1e5d2b0/users/root > > > > > > so I was thinking of using skipACL=YES that I saw in the zookeeper > > documentation. Any idea if this can be used with zkCli.sh? > > > > > > Ranjan > > > > > > > > > > -- > > https://github.com/mindscratch > > https://www.google.com/+CraigWickesser > > https://twitter.com/mind_scratch > > https://twitter.com/craig_links