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

Reply via email to