Hortonworks Data Platform 2.3.4.0-3485
- [bug]
/usr/hdp/2.3.4.0-3485/zookeeper/bin/zkEnv.sh
26 if [ -z "${ZOOKEEPER_HOME}" ]; then
27 ZOOBINDIR=${ZOOBINDIR:-/usr/bin}
28 ZOOKEEPER_PREFIX=${ZOOBINDIR}/..
29 else
30 ZOOBINDIR="${ZOOKEEPER_HOME}/bin"
31 ZOOKEEPER_PREFX="${ZOOKEEPER_HOME}"
32 fi
第31行,变量名应为ZOOKEEPER_PREFIX,可能导致后面的目录从根目录开始而不是zookeeper_home