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

Add ability to specify user under which zookeeper process should be started using zkServer.sh

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4.8
    • None
    • scripts
    • None
    • Linux Centos 6
      Java 1.7

    Description

      Currently the zkServer.sh script will start zookeeper as the user invoking the script.

      It would be good to add the ability to specify the user (maybe in a $USER variable in conf/zookeeper-env.sh) under which the zookeeper process should be run, so that any user invoking the script do not accidentally start it as their user (esp. as root).

      Addition of this feature would make zkServer.sh the only script required to manage zookeeper process.

      Thanks

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            sdh Siddhartha

            Dates

              Created:
              Updated:

              Slack

                Issue deployment