You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by "Talluri, Chandra" <Ch...@FMR.com.INVALID> on 2015/11/30 19:25:57 UTC

Setting multiple acls on a node with zkCli

Hi
While using Command line script ZkCli.sh on Zookeeper to set ACL's for a range of Ip's
for setAcl / ip:10.0.0.0/16:cdrw I always get "Acl is not valid : /" (zookeeper.version=3.4.6 release version)
What is the right Syntax.
-Thanks in Advance
Chandra Talluri

RE: Setting multiple acls on a node with zkCli

Posted by "Talluri, Chandra" <Ch...@FMR.com.INVALID>.
Thanks a lot, Do you know when the Release version of 3.5.* is available. I see only alpha version

-Thanks


-----Original Message-----
From: Raúl Gutiérrez Segalés [mailto:rgs@itevenworks.net] 
Sent: Monday, November 30, 2015 2:08 PM
To: user@zookeeper.apache.org
Subject: Re: Setting multiple acls on a node with zkCli

Hi,

On 30 November 2015 at 10:32, Talluri, Chandra < Chandra.Talluri@fmr.com.invalid> wrote:

> Hi
> While using Command line script ZkCli.sh on Zookeeper to set ACL's for 
> a range of Ip's for setAcl / ip:10.0.0.0/16:cdrw I always get "Acl is 
> not valid : /"
> (zookeeper.version=3.4.6 release version) What is the right Syntax?
>

CIDR is only supported in versions >= 3.5.0:

https://issues.apache.org/jira/browse/ZOOKEEPER-1673


-rgs

Re: Setting multiple acls on a node with zkCli

Posted by Raúl Gutiérrez Segalés <rg...@itevenworks.net>.
Hi,

On 30 November 2015 at 10:32, Talluri, Chandra <
Chandra.Talluri@fmr.com.invalid> wrote:

> Hi
> While using Command line script ZkCli.sh on Zookeeper to set ACL's for a
> range of Ip's
> for setAcl / ip:10.0.0.0/16:cdrw I always get "Acl is not valid : /"
> (zookeeper.version=3.4.6 release version)
> What is the right Syntax?
>

CIDR is only supported in versions >= 3.5.0:

https://issues.apache.org/jira/browse/ZOOKEEPER-1673


-rgs

Setting multiple acls on a node with zkCli

Posted by "Talluri, Chandra" <Ch...@FMR.com.INVALID>.
Hi
While using Command line script ZkCli.sh on Zookeeper to set ACL's for a range of Ip's
for setAcl / ip:10.0.0.0/16:cdrw I always get "Acl is not valid : /" (zookeeper.version=3.4.6 release version)
What is the right Syntax?
-Thanks in Advance
Chandra Talluri