You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Terence Kwan (JIRA)" <ji...@apache.org> on 2009/04/24 03:15:30 UTC

[jira] Updated: (CHUKWA-188) dbAdmin.sh is missing the CHUKWA_CONF_DIR definition

     [ https://issues.apache.org/jira/browse/CHUKWA-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Terence Kwan updated CHUKWA-188:
--------------------------------

    Attachment: dbAdmin.patch

patch for dbAdmin.sh

> 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
>
>         Attachments: dbAdmin.patch
>
>
> 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.