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

Init script fails to track PID file when using a non-standard dataDir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 3.4.6, 3.5.0
    • None
    • None
    • packaging

    Description

      When setting a dataDir in zoo.cfg that does not match /var/lib/zookeeper, the supplied init.d script failed to track the PID file. This change moves the logic that is present in zkServer.sh to determine the PID location into zkEnv.sh. Also removed the hard coded path for the zookeeper dataDir.

      Attachments

        1. ZOOKEEPER-2067.patch
          0.9 kB
          Jeremy Carroll

        Activity

          People

            phobos182 Jeremy Carroll
            phobos182 Jeremy Carroll
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: