hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r748027 - /hadoop/core/trunk/src/contrib/chukwa/tools/init.d/chukwa-data-processors
Date Thu, 26 Feb 2009 05:59:07 GMT
Author: eyang
Date: Thu Feb 26 05:59:07 2009
New Revision: 748027

URL: http://svn.apache.org/viewvc?rev=748027&view=rev
Log:
HADOOP-5310. Added --config parameter to start-data-processors.sh and stop-data-processors.sh.

Modified:
    hadoop/core/trunk/src/contrib/chukwa/tools/init.d/chukwa-data-processors

Modified: hadoop/core/trunk/src/contrib/chukwa/tools/init.d/chukwa-data-processors
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/chukwa/tools/init.d/chukwa-data-processors?rev=748027&r1=748026&r2=748027&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/chukwa/tools/init.d/chukwa-data-processors (original)
+++ hadoop/core/trunk/src/contrib/chukwa/tools/init.d/chukwa-data-processors Thu Feb 26 05:59:07
2009
@@ -37,7 +37,7 @@
         echo -n $"Starting $prog: "
         config
         # start daemon
-	su - chukwa -c "${CHUKWA_HOME}/bin/start-data-processors.sh"
+	su - chukwa -c "${CHUKWA_HOME}/bin/start-data-processors.sh --config $CHUKWA_CONF_DIR "
         RETVAL=$?
         echo
         [ $RETVAL = 0 ] && touch /var/lock/subsys/$prog
@@ -48,7 +48,7 @@
         # stop daemon
         echo -n $"Stopping $prog: "
         config
-	su - chukwa -c "${CHUKWA_HOME}/bin/stop-data-processors.sh"
+	su - chukwa -c "${CHUKWA_HOME}/bin/stop-data-processors.sh --config $CHUKWA_CONF_DIR "
         RETVAL=$?
         echo
         [ $RETVAL = 0 ] && rm -f /var/lock/subsys/$prog



Mime
View raw message