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

Add zookeeper-setup-conf.sh script

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4.0
    • None
    • scripts
    • None
    • Shell script

    Description

      It would be nice to provide a setup script for zoo.cfg and zookeeper-env.sh. The proposed script will provide the following options:

      usage: /usr/sbin/zookeeper-setup-conf.sh <parameters>
        Required parameters:
          --conf-dir                     Set ZooKeeper configuration directory
          --log-dir                      Set ZooKeeper log directory
        Optional parameters:
          --auto-purge-interval=1        Set snapshot auto purge interval
          --client-port=2181             Set client port
          --data-dir=/var/lib/zookeeper  Set data directory
          --hosts=host1,host2            Set ZooKeeper qourum hostnames
          --init-limit=10                Set initial sync limit
          --java-home                    Set JAVA_HOME location
          --snapshot-count=3             Set snapshot retain count
          --sync-limit=5                 Set sync limit
          --tick-time=2000               Set milliseconds of each tick
      

      Attachments

        1. ZOOKEEPER-1296-3.patch
          13 kB
          Eric Yang
        2. ZOOKEEPER-1296-2.patch
          7 kB
          Eric Yang
        3. ZOOKEEPER-1296-1.patch
          6 kB
          Eric Yang
        4. ZOOKEEPER-1296.patch
          5 kB
          Eric Yang

        Activity

          People

            eyang Eric Yang
            eyang Eric Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: