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

Add whoami API and Cli command

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.7.0
    • 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

              arshad.mohammad Mohammad Arshad
              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