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/