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

zkServer.sh should resolve canonical path from symlinks

    XMLWordPrintableJSON

    Details

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

      Centos 6

    • Flags:
      Patch

      Description

      If zkServer.sh is started from a symlink, it is not able to correctly source the other scripts because it looks in the wrong path.

      Attached patch fixes this by first resolving absolute path to the script.

        Attachments

        1. ZOOKEEPER-2377.patch
          2 kB
          Siddhartha
        2. ZOOKEEPER-2377.patch
          1 kB
          Siddhartha

          Activity

            People

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

              Dates

              • Created:
                Updated: