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

zk scripts no longer work when symlinked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.4.5
    • None
    • scripts
    • None
    • RHEL6.4

    Description

      At some point since 3.3, the shell scripts were updated to move away from using readlink to using BASH_SOURCE. The problem is that BASH_SOURCE doesn't resolve symlinks so when /usr/bin/zookeeper-cli is symlinked to /usr/lib/zookeeper/bin/zkCli.sh it fails every single time.

      Attachments

        Activity

          People

            cls Chris Seawood
            cls Chris Seawood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: