Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-865

Fix up zookeeper's install script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • debian, rpm
    • None

    Description

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

      export ZOOKEEPER_HOME=\${ZOOKEEPER_CONF:-/usr/lib/zookeeper}
      export ZOOKEEPER_CONF=\${ZOOKEEPER_CONF:-/etc/zookeeper/conf}
      

      The variable on the RHS of ZOOKEEPER_HOME assignment should be ZOOKEEPER_HOME instead of ZOOKEEPER_CONF

      Also, the line

      env CLASSPATH=\$CLASSPATH /usr/lib/zookeeper/bin/${upstream_script} "\$@"
      

      should respect the location of ZOOKEEPER_HOME instead of disrespecting it and assuming that it resides in /usr/lib/

      Attachments

        Activity

          People

            Unassigned Unassigned
            mgrover Mark Grover
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: