Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43F9F17E32 for ; Thu, 2 Oct 2014 03:06:41 +0000 (UTC) Received: (qmail 15648 invoked by uid 500); 2 Oct 2014 03:06:41 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 15575 invoked by uid 500); 2 Oct 2014 03:06:39 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 15565 invoked by uid 99); 2 Oct 2014 03:06:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2014 03:06:39 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ranjan_sen@hotmail.com designates 65.54.190.84 as permitted sender) Received: from [65.54.190.84] (HELO BAY004-OMC2S9.hotmail.com) (65.54.190.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2014 03:06:12 +0000 Received: from BAY176-W33 ([65.54.190.123]) by BAY004-OMC2S9.hotmail.com with Microsoft SMTPSVC(7.5.7601.22751); Wed, 1 Oct 2014 20:06:10 -0700 X-TMN: [6QoKydW/SoocVM6nJwJVVQsy+fLMPU2v] X-Originating-Email: [ranjan_sen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_fb5ebdb2-6466-44d6-812e-db8243dc1f4e_" From: Ranjan Sen To: "user@accumulo.apache.org" Subject: RE: Removing 'accumulo' from Zookeeper Date: Thu, 2 Oct 2014 03:06:10 +0000 Importance: Normal In-Reply-To: <542CB896.9030506@gmail.com> References: ,<542CB896.9030506@gmail.com> MIME-Version: 1.0 X-OriginalArrivalTime: 02 Oct 2014 03:06:10.0932 (UTC) FILETIME=[D1873340:01CFDDED] X-Virus-Checked: Checked by ClamAV on apache.org --_fb5ebdb2-6466-44d6-812e-db8243dc1f4e_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Let me describe the scenario. Accumulo was installed earlier but has been r= emoved 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 'insta= nces' in ZK. As I could not use addauth and remove the nodes=2C I found som= e doc on using skipACL=3DYES in zookeeper manual and was wondering if that = may enable me to clean. Thanks for looking at it.=20 =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= instance.secret DEFAULT [zk: localhost:2181(CONNECTED) 1] addauth digest accumulo:DEFAULT[zk: local= host:2181(CONNECTED) 2] rmr /accumuloAuthentication is not valid : /accumul= o/31d38c2a-3a26-49b3-a786-42d7e1e5d2b0/users/root[zk: localhost:2181(CONNEC= TED) 3] ls /[accumulo=2C admin=2C zookeeper=2C consumers=2C config=2C hbase= -unsecure=2C storm=2C brokers=2C controller_epoch][zk: localhost:2181(CONNE= CTED) 4] rmr /accumulo/31d38c2a-3a26-49b3-a786-42d7e1e5d2b0/users/root Auth= entication is not valid : /accumulo/31d38c2a-3a26-49b3-a786-42d7e1e5d2b0/us= ers/root [zk: localhost:2181(CONNECTED) 15] getAcl /accumulo/31d38c2a-3a26-49b3-a78= 6-42d7e1e5d2b0/users'world=2C'anyone: r'digest=2C'accumulo:diZNqb4D71cy0fGx= C3meE2ZYWyE=3D: cdrwa =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= > Date: Wed=2C 1 Oct 2014 22:29:42 -0400 > From: josh.elser@gmail.com > To: user@accumulo.apache.org > Subject: Re: Removing 'accumulo' from Zookeeper >=20 > You definitely want "addauth"=2C not "setacl". >=20 > "secret" is the value of instance.secret in accumulo-site.xml. >=20 > craig w wrote: > > I'd double check that "secret" is correct and perhaps do you mean to=20 > > use "addauth"? > > > > On Wed=2C Oct 1=2C 2014 at 8:10 PM=2C Ranjan Sen > > wrote: > > > > Hi Accumulo users=2C > > > > 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=3DYES that I saw in the zookeepe= r > > documentation. Any idea if this can be used with zkCli.sh? > > > > > > Ranjan > > > > > > > > > > --=20 > > https://github.com/mindscratch > > https://www.google.com/+CraigWickesser > > https://twitter.com/mind_scratch > > https://twitter.com/craig_links = --_fb5ebdb2-6466-44d6-812e-db8243dc1f4e_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Let me describe the scenario. Ac= cumulo was installed earlier but has been removed now. Before installing Ac= cumulo I want to clean any ZK node related to it.  =3BBelow please see = the details.  =3BI do not have any node called 'instances' in ZK. As I = could not use addauth and remove the nodes=2C I found some doc on using ski= pACL=3DYES in zookeeper manual and was wondering if that may enable me to c= lean.  =3BThanks for looking at it. =3B

=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A=

 =3B =3B<=3Bproperty>=3B

<= div>

 =3B  =3B <=3Bname>=3Binstance.secret<=3B= /name>=3B

 =3B  =3B <=3Bvalue>= =3BDEFAULT<=3B/value>=3B


[zk: localhost:2181(CONNECTED) 1] addauth digest accumul= o:DEFAULT

[zk: localhost:2181(CONNECTED) 2] r= mr /accumulo

Authentication is not valid : /a= ccumulo/31d38c2a-3a26-49b3-a786-42d7e1e5d2b0/users/root

[zk: localhost:2181(CONNECTED) 3] ls /

[accumulo=2C admin=2C zookeeper=2C consumers=2C config=2C hbase-unsecu= re=2C storm=2C brokers=2C controller_epoch]

[= zk: localhost:2181(CONNECTED) 4] rmr /accumulo/31d38c2a-3a26-49b3-a786-42d7= e1e5d2b0/users/root =3B

Authentication is= not valid : /accumulo/31d38c2a-3a26-49b3-a786-42d7e1e5d2b0/users/root

<= /div>


[zk: localhost= :2181(CONNECTED) 15] getAcl =3B /accumulo/31d38c2a-3a26-49b3-a786-42d7e= 1e5d2b0/users

'world=2C'anyone

=

: r

'digest=2C'accumulo:diZNq= b4D71cy0fGxC3meE2ZYWyE=3D

: cdrwa


=0A= =0A=

=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A=

=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A=



>=3B Date: Wed= =2C 1 Oct 2014 22:29:42 -0400
>=3B From: josh.elser@gmail.com
>= =3B To: user@accumulo.apache.org
>=3B Subject: Re: Removing 'accumulo'= from Zookeeper
>=3B
>=3B You definitely want "addauth"=2C not "= setacl".
>=3B
>=3B "secret" is the value of instance.secret in a= ccumulo-site.xml.
>=3B
>=3B craig w wrote:
>=3B >=3B I'd = double check that "secret" is correct and perhaps do you mean to
>=3B= >=3B use "addauth"?
>=3B >=3B
>=3B >=3B On Wed=2C Oct 1=2C= 2014 at 8:10 PM=2C Ranjan Sen <=3Branjan_sen@hotmail.com
>=3B >= =3B <=3Bmailto:ranjan_sen@hotmail.com>=3B>=3B wrote:
>=3B >=3B=
>=3B >=3B Hi Accumulo users=2C
>=3B >=3B
>=3B >= =3B I have a accumulo znode that I want to remove from zookeeper. I
= >=3B >=3B tried to use the
>=3B >=3B
>=3B >=3B se= tAcl digest accumulo:secret
>=3B >=3B
>=3B >=3B but it i= s not working when I try to remove it
>=3B >=3B
>=3B >=3B = [zk: localhost:2181(CONNECTED) 11] rmr
>=3B >=3B /accumulo/31d3= 8c2a-3a26-49b3-a786-42d7e1e5d2b0/users/root
>=3B >=3B
>=3B >= =3B Authentication is not valid :
>=3B >=3B /accumulo/31d38c= 2a-3a26-49b3-a786-42d7e1e5d2b0/users/root
>=3B >=3B
>=3B >=3B=
>=3B >=3B so I was thinking of using skipACL=3DYES that I saw i= n the zookeeper
>=3B >=3B documentation. Any idea if this can be= used with zkCli.sh?
>=3B >=3B
>=3B >=3B
>=3B >=3B = Ranjan
>=3B >=3B
>=3B >=3B
>=3B >=3B
>=3B >=3B=
>=3B >=3B --
>=3B >=3B https://github.com/mindscratch
&g= t=3B >=3B https://www.google.com/+CraigWickesser
>=3B >=3B https:/= /twitter.com/mind_scratch
>=3B >=3B https://twitter.com/craig_links<= br>
= --_fb5ebdb2-6466-44d6-812e-db8243dc1f4e_--