You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "kavita sharma (Assigned) (JIRA)" <ji...@apache.org> on 2011/11/23 10:11:41 UTC

[jira] [Assigned] (ZOOKEEPER-1307) zkCli.sh is exiting when an Invalid ACL exception is thrown from setACL command through client

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kavita sharma reassigned ZOOKEEPER-1307:
----------------------------------------

    Assignee: kavita sharma
    
> zkCli.sh is exiting when an Invalid ACL exception is thrown from setACL command through client
> ----------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1307
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1307
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>         Environment: zkCli.sh
>            Reporter: amith
>            Assignee: kavita sharma
>            Priority: Minor
>             Fix For: 3.3.5
>
>
> use consoleClient (zkCli.sh) and issue setAcl /temp abc
> [zk: XX.XX.XX.XX:XXXX(CONNECTED) 17] setAcl /temp abc
> abc does not have the form scheme:id:perm
> Exception in thread "main" org.apache.zookeeper.KeeperException$InvalidACLException: KeeperErrorCode = InvalidACL
>         at org.apache.zookeeper.ZooKeeper.setACL(ZooKeeper.java:1172)
>         at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:717)
>         at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:582)
>         at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:354)
>         at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:312)
>         at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:271)
> linux-xxx:/zookeeper1/bin #
> if any InvalidACLException is thrown then client is exiting.
> client should be able to handle this kind of issues

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira