HADOOP-9921. daemon scripts should remove pid file on stop call after stop or process is found not running ( Contributed by Vinayakumar B)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1610964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vinayakumar B 2014-07-16 10:48:15 +00:00
parent 619837039b
commit dc31d66f8a
4 changed files with 6 additions and 0 deletions

View File

@ -422,6 +422,9 @@ Release 2.6.0 - UNRELEASED
HADOOP-10810. Clean up native code compilation warnings. (cnauroth) HADOOP-10810. Clean up native code compilation warnings. (cnauroth)
HADOOP-9921. daemon scripts should remove pid file on stop call after stop
or process is found not running ( vinayakumarb )
Release 2.5.0 - UNRELEASED Release 2.5.0 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -198,6 +198,7 @@ case $startStop in
else else
echo no $command to stop echo no $command to stop
fi fi
rm -f $pid
else else
echo no $command to stop echo no $command to stop
fi fi

View File

@ -133,6 +133,7 @@ case $startStop in
else else
echo no $command to stop echo no $command to stop
fi fi
rm -f $pid
else else
echo no $command to stop echo no $command to stop
fi fi

View File

@ -145,6 +145,7 @@ case $startStop in
else else
echo no $command to stop echo no $command to stop
fi fi
rm -f $pid
else else
echo no $command to stop echo no $command to stop
fi fi