You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by IKumasa Mukai <ik...@gmail.com> on 2011/12/20 07:41:26 UTC

The ACL expression is of the form addr/bits?

I cannot set ACL with the form "ip:addr/bits".
Cannot I use this type of form as the ACL expression?

setAcl /test ip:192.168.0.0/16:cdr

Exception in thread "main"
org.apache.zookeeper.KeeperException$InvalidACLException:
KeeperErrorCode = InvalidACL for /test
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:112)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
	at org.apache.zookeeper.ZooKeeper.setACL(ZooKeeper.java:1175)
	at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:716)
	at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:581)
	at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:353)
	at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:311)
	at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:270)

Version is 3.3.4.

Ikumasa