Mohammad Arshad created ZOOKEEPER-3969:
------------------------------------------

             Summary: Add whoami  API and Cli command
                 Key: ZOOKEEPER-3969
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3969
             Project: ZooKeeper
          Issue Type: New Feature
            Reporter: Mohammad Arshad
            Assignee: Mohammad Arshad
             Fix For: 3.7.0, 3.6.3


When connected to Zookeeper through CLI, many times there is need to know who 
is the current user. This is helpful when finding ACL related problems. Finding 
who is current user is not easy, have to check many configuration both at 
client and at server.

Personally I run below three commands to know the current user
{code:java}
create /a
setAcl /a auth::cdrwa
getAcl /a
{code}


Given all the above facts, I think adding whoami command will be good add-on 
into the zookeeper command list.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to