Skip to content

Commit

Permalink
BIGTOP-4007: The path information is incorrect in the zookeeper-clien…
Browse files Browse the repository at this point in the history
…t script file (#1179)
  • Loading branch information
LiJie20190102 authored Sep 19, 2023
1 parent a03006b commit 6974a24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bigtop-packages/src/common/zookeeper/install_zookeeper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ cat > $wrapper <<EOF
# Autodetect JAVA_HOME if not defined
. /usr/lib/bigtop-utils/bigtop-detect-javahome
export ZOOKEEPER_HOME=\${ZOOKEEPER_CONF:-${LIB_DIR}}
export ZOOKEEPER_HOME=\${ZOOKEEPER_HOME:-${LIB_DIR}}
export ZOOKEEPER_CONF=\${ZOOKEEPER_CONF:-/etc/zookeeper/conf}
export CLASSPATH=\$CLASSPATH:\$ZOOKEEPER_CONF:\$ZOOKEEPER_HOME/*:\$ZOOKEEPER_HOME/lib/*
export ZOOCFGDIR=\${ZOOCFGDIR:-\$ZOOKEEPER_CONF}
Expand All @@ -188,7 +188,7 @@ for pairs in zkServer.sh/zookeeper-server zkServer-initialize.sh/zookeeper-serve
. /usr/lib/bigtop-utils/bigtop-detect-javahome
export ZOOPIDFILE=\${ZOOPIDFILE:-/var/run/zookeeper/zookeeper_server.pid}
export ZOOKEEPER_HOME=\${ZOOKEEPER_CONF:-${LIB_DIR}}
export ZOOKEEPER_HOME=\${ZOOKEEPER_HOME:-${LIB_DIR}}
export ZOOKEEPER_CONF=\${ZOOKEEPER_CONF:-/etc/zookeeper/conf}
export ZOOCFGDIR=\${ZOOCFGDIR:-\$ZOOKEEPER_CONF}
export CLASSPATH=\$CLASSPATH:\$ZOOKEEPER_CONF:\$ZOOKEEPER_HOME/*:\$ZOOKEEPER_HOME/lib/*
Expand Down

0 comments on commit 6974a24

Please sign in to comment.