You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Mark Grover (JIRA)" <ji...@apache.org> on 2013/03/07 20:00:14 UTC

[jira] [Created] (BIGTOP-865) Fix up zookeeper's install script

Mark Grover created BIGTOP-865:
----------------------------------

             Summary: Fix up zookeeper's install script
                 Key: BIGTOP-865
                 URL: https://issues.apache.org/jira/browse/BIGTOP-865
             Project: Bigtop
          Issue Type: Bug
          Components: Debian, RPM
            Reporter: Mark Grover
            Assignee: Mark Grover


There seem to be a few bugs in the zookeeper install script

{code}
export ZOOKEEPER_HOME=\${ZOOKEEPER_CONF:-/usr/lib/zookeeper}
export ZOOKEEPER_CONF=\${ZOOKEEPER_CONF:-/etc/zookeeper/conf}
{code}
The variable on the RHS of {{ZOOKEEPER_HOME}} assignment should be {{ZOOKEEPER_HOME}} instead of {{ZOOKEEPER_CONF}}

Also, the line
{code}
env CLASSPATH=\$CLASSPATH /usr/lib/zookeeper/bin/${upstream_script} "\$@"
{code}
should respect the location of ZOOKEEPER_HOME instead of disrespecting it and assuming that it resides in {{/usr/lib/}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira