hadoop-yarn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vinayakum...@apache.org
Subject svn commit: r1610965 - /hadoop/common/branches/branch-2/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh
Date Wed, 16 Jul 2014 10:49:04 GMT
Author: vinayakumarb
Date: Wed Jul 16 10:49:04 2014
New Revision: 1610965

URL: http://svn.apache.org/r1610965
Log:
Merged revision(s) 1610964 from hadoop/common/trunk:
HADOOP-9921. daemon scripts should remove pid file on stop call after stop or process is found
not running ( Contributed by Vinayakumar B)

Modified:
    hadoop/common/branches/branch-2/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh

Modified: hadoop/common/branches/branch-2/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh?rev=1610965&r1=1610964&r2=1610965&view=diff
==============================================================================
--- hadoop/common/branches/branch-2/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh (original)
+++ hadoop/common/branches/branch-2/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh Wed
Jul 16 10:49:04 2014
@@ -145,6 +145,7 @@ case $startStop in
       else
         echo no $command to stop
       fi
+      rm -f $pid
     else
       echo no $command to stop
     fi



Mime
View raw message