accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Turner <ke...@deenlo.com>
Subject Re: Removing 'accumulo' from Zookeeper
Date Thu, 02 Oct 2014 15:39:19 GMT
Accumulo will work properly if you do not clean it before installing,
because each time you init Accumulo it stores the information for the new
instance under a new random uuid.  For the purpose of cleaning out old
UUIDs, its possible each old UUID could have been created with a different
password.   Maybe thats what happening in your case?  I can not remember if
the syntax of your addauth command is correct.

On Wed, Oct 1, 2014 at 11:06 PM, Ranjan Sen <ranjan_sen@hotmail.com> wrote:

> 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 /accumulo
>
> Authentication 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.elser@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_sen@hotmail.com
> > > <mailto:ranjan_sen@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
>

Mime
View raw message