chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asrab...@apache.org
Subject svn commit: r1364418 - in /incubator/chukwa/trunk: CHANGES.txt bin/chukwa
Date Sun, 22 Jul 2012 19:55:22 GMT
Author: asrabkin
Date: Sun Jul 22 19:55:22 2012
New Revision: 1364418

URL: http://svn.apache.org/viewvc?rev=1364418&view=rev
Log:
CHUKWA-649. Handle pid-file missing case while stoping chukwa processes. Contributed by Jie
Huang.

Modified:
    incubator/chukwa/trunk/CHANGES.txt
    incubator/chukwa/trunk/bin/chukwa

Modified: incubator/chukwa/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/chukwa/trunk/CHANGES.txt?rev=1364418&r1=1364417&r2=1364418&view=diff
==============================================================================
--- incubator/chukwa/trunk/CHANGES.txt (original)
+++ incubator/chukwa/trunk/CHANGES.txt Sun Jul 22 19:55:22 2012
@@ -6,12 +6,16 @@ Trunk (unreleased changes)
 
   IMPROVEMENTS
 
+    CHUKWA-649. Handle pid-file missing case while stoping chukwa processes. (Jie Huang via
asrabkin)
+
     CHUKWA-645. Updated Hadoop and HBase dependency. (Eric Yang)
 
     CHUKWA-630. Added chukwa user setup to rpm package. (Noel Duffy via Eric Yang)
 
     CHUKWA-639. Updated to HBase 0.92.1. (Eric Yang)
 
+    CHUKWA-647. Spread out intermediate data with the same ReduceType into different Reduce
Tasks. (Jie Huang via asrabkin)
+
   BUGS
 
     CHUKWA-646. Fix file rotation correctly for 0 byte rotated files. (Ivy Tang via Eric
Yang)

Modified: incubator/chukwa/trunk/bin/chukwa
URL: http://svn.apache.org/viewvc/incubator/chukwa/trunk/bin/chukwa?rev=1364418&r1=1364417&r2=1364418&view=diff
==============================================================================
--- incubator/chukwa/trunk/bin/chukwa (original)
+++ incubator/chukwa/trunk/bin/chukwa Sun Jul 22 19:55:22 2012
@@ -161,7 +161,11 @@ elif [ "$COMMAND" = "tail" ]; then
 fi
 
 if [ "$1" = "stop" ]; then
-  kill -TERM `cat ${CHUKWA_PID_DIR}/$PID.pid`
+  if [ -e ${CHUKWA_PID_DIR}/$PID.pid ]; then 
+    kill -TERM `cat ${CHUKWA_PID_DIR}/$PID.pid`
+  else 
+    echo "Cannot find PID file - $PID.pid; NO $PID to stop";
+  fi
 else 
   # run command
   if [ "$BACKGROUND" = "false" ]; then



Mime
View raw message