Mike
Mike

Reputation: 5142

Delete ZNode with plain text ACL

I was using zkCli to try and understand digest ACLs a bit better and somehow created a ZNode I cannot delete. I ran this command:

[zk: host:2181(CONNECTED) 1] setAcl /test digest:test:test:crwda

And it worked. Now the ZNode shows the following ACL:

[zk: host:2181(CONNECTED) 12] getAcl /test
'digest,'test:test
: cdrwa

But now I cannot delete this ZNode. I have tried several variations of addauth but I keep getting the error "Authentication is not valid":

addauth digest test:test
addauth digest test:V28q/NynI4JI3Rk54h0r8O5kMug=

How the heck am I supposed to remove this ZNode?

Upvotes: 2

Views: 814

Answers (1)

Wawrzyniec Pruski
Wawrzyniec Pruski

Reputation: 389

Try this in zkCli:

delete /test

Upvotes: 1

Related Questions