incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1357002 - /incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh
Date Tue, 03 Jul 2012 22:51:22 GMT
Author: rvs
Date: Tue Jul  3 22:51:22 2012
New Revision: 1357002

URL: http://svn.apache.org/viewvc?rev=1357002&view=rev
Log:
BIGTOP-668. unable to override zookeeper environment variables

Modified:
    incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh

Modified: incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh?rev=1357002&r1=1357001&r2=1357002&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/zookeeper/install_zookeeper.sh Tue Jul
 3 22:51:22 2012
@@ -167,10 +167,10 @@ export ZOOKEEPER_HOME=\${ZOOKEEPER_CONF:
 export ZOOKEEPER_CONF=\${ZOOKEEPER_CONF:-/etc/zookeeper/conf}
 export ZOOCFGDIR=\${ZOOCFGDIR:-\$ZOOKEEPER_CONF}
 export CLASSPATH=\$CLASSPATH:\$ZOOKEEPER_CONF:\$ZOOKEEPER_HOME/*:\$ZOOKEEPER_HOME/lib/*
-export ZOO_LOG_DIR=/var/log/zookeeper
-export ZOO_LOG4J_PROP=INFO,ROLLINGFILE
-export JVMFLAGS=-Dzookeeper.log.threshold=INFO
-export ZOO_DATADIR_AUTOCREATE_DISABLE=true
+export ZOO_LOG_DIR=\${ZOO_LOG_DIR:-/var/log/zookeeper}
+export ZOO_LOG4J_PROP=\${ZOO_LOG4J_PROP:-INFO,ROLLINGFILE}
+export JVMFLAGS=\${JVMFLAGS:--Dzookeeper.log.threshold=INFO}
+export ZOO_DATADIR_AUTOCREATE_DISABLE=\${ZOO_DATADIR_AUTOCREATE_DISABLE:-true}
 env CLASSPATH=\$CLASSPATH /usr/lib/zookeeper/bin/${upstream_script} "\$@"
 EOF
   chmod 755 $wrapper



Mime
View raw message