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

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.6, 3.5.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Tags:
      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

            • Assignee:
              phobos182 Jeremy Carroll
              Reporter:
              phobos182 Jeremy Carroll
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: