You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Siddhartha (JIRA)" <ji...@apache.org> on 2016/02/26 04:09:18 UTC

[jira] [Created] (ZOOKEEPER-2377) zkServer.sh should resolve canonical path from symlinks

Siddhartha created ZOOKEEPER-2377:
-------------------------------------

             Summary: zkServer.sh should resolve canonical path from symlinks
                 Key: ZOOKEEPER-2377
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2377
             Project: ZooKeeper
          Issue Type: Improvement
          Components: scripts
    Affects Versions: 3.4.8
         Environment: Centos 6
            Reporter: Siddhartha
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)