zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From IKumasa Mukai <ikumasa.mu...@gmail.com>
Subject The ACL expression is of the form addr/bits?
Date Tue, 20 Dec 2011 06:41:26 GMT
I cannot set ACL with the form "ip:addr/bits".
Cannot I use this type of form as the ACL expression?

setAcl /test ip:

Exception in thread "main"
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.


View raw message