[
https://issues.apache.org/jira/browse/ZOOKEEPER-3128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mohammad Arshad resolved ZOOKEEPER-3128.
----------------------------------------
Fix Version/s: 3.7.1
Resolution: Fixed
Issue resolved by pull request 1656
[https://github.com/apache/zookeeper/pull/1656]
> Get CLI Command displays Authentication error for Authorization error
> ---------------------------------------------------------------------
>
> Key: ZOOKEEPER-3128
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3128
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Reporter: Mohammad Arshad
> Assignee: Mohammad Arshad
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.8.0, 3.7.1, 3.6.3
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> CLI Get Command display
> "org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode =
> NoAuth for /b" when user does not have read access on the znode /b.
> Steps to reproduce the bug:
> {noformat}
> [zk: vm1:2181(CONNECTED) 1] create /b
> Created /b
> [zk: vm1:2181(CONNECTED) 2] getAcl /b
> 'world,'anyone
> : cdrwa
> [zk: vm1:2181(CONNECTED) 3] setAcl /b world:anyone:wa
> [zk: vm1:2181(CONNECTED) 4] getAcl /b
> 'world,'anyone
> : wa
> [zk: vm1:2181(CONNECTED) 5] get /b
> org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode =
> NoAuth for /b
> [zk: vm1:2181(CONNECTED) 6]
> {noformat}
> Expected output:
> {noformat}
> [zk: vm1:2181(CONNECTED) 0] get /b
> Insufficient permission : /b
> {noformat}
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)