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:13:30 UTC

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

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.


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

Posted by "Terence Kwan (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-188:
-----------------------------

    Fix Version/s:     (was: 0.1.2)

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


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

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703996#action_12703996 ] 

Eric Yang commented on CHUKWA-188:
----------------------------------

-Dlog4j.configuration=chukwa-log4j.properties will load the file from class path.  The patch does not solve the actual problem where org.apache.hadoop.conf.Configuration warn about uninitialized log4j configuration.

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