ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1335

Add support for --config to zkEnv.sh to specify a config directory different than what is expected

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:
      None

      Description

      zkEnv.sh expects ZOOCFGDIR env variable set. If not it looks for the conf dir in the ZOOKEEPER_PREFIX dir or in /etc/zookeeper. It would be great if we can support --config option where at run time you could specify a different config directory. We do the same thing in hadoop.

      With this you should be able to do

      /usr/sbin/zkServer.sh --config /some/conf/dir start|stop

      1. ZOOKEEPER-1335.patch
        1 kB
        Arpit Gupta
      2. ZOOKEEPER-1335.patch
        0.5 kB
        Arpit Gupta

        Activity

          People

          • Assignee:
            Arpit Gupta
            Reporter:
            Arpit Gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development