Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3969

Add whoami API and Cli command

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.0
    • Component/s: None

      Description

      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

      create /a
      setAcl /a auth::cdrwa
      getAcl /a
      

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arshad.mohammad Mohammad Arshad
                Reporter:
                arshad.mohammad Mohammad Arshad
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m