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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.8
    • Fix Version/s: None
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      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

            People

            • Assignee:
              Unassigned
              Reporter:
              sdh Siddhartha
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: