chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terence Kwan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CHUKWA-188) dbAdmin.sh is missing the CHUKWA_CONF_DIR definition
Date Fri, 24 Apr 2009 01:15:30 GMT

     [ 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.


Mime
View raw message