dbAdmin.sh is missing the CHUKWA_CONF_DIR definition
----------------------------------------------------
Key: CHUKWA-188
URL: https://issues.apache.org/jira/browse/CHUKWA-188
Project: Hadoop Chukwa
Issue Type: Bug
Components: data collection
Affects Versions: 0.1.2
Reporter: Terence Kwan
Fix For: 0.1.2
dbAdmin.sh is missing the CHUKWA_CONF_DIR definition:
Index: dbAdmin.sh
===================================================================
--- dbAdmin.sh (revision 768072)
+++ dbAdmin.sh (working copy)
@@ -29,7 +29,7 @@
CHUKWA_OPTS="-DCHUKWA_HOME=${CHUKWA_HOME} -DCHUKWA_CONF_DIR=${CHUKWA_CONF_DIR}
-DCHUKWA_LOG_DIR=${CHUKWA_LOG_DIR} -DDATACONFIG=${CHUKWA_CONF_DIR}/mdl.xml"
CLASS_OPTS="-classpath
${CLASSPATH}:${CHUKWA_CORE}:${COMMON}:${HADOOP_JAR}:${CHUKWA_CONF_DIR}"
-JVM_OPTS="-DAPP=dbAdmin -Dlog4j.configuration=chukwa-log4j.properties
${CHUKWA_OPTS} ${CLASS_OPTS}"
+JVM_OPTS="-DAPP=dbAdmin
-Dlog4j.configuration=${CHUKWA_CONF_DIR}/chukwa-log4j.properties ${CHUKWA_OPTS}
${CLASS_OPTS}"
echo "${pid}" > "${CHUKWA_PID_DIR}/dbAdmin.pid"
while [ 1 ]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.