You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ve...@apache.org on 2015/05/13 23:27:46 UTC
[05/50] [abbrv] incubator-atlas git commit: added pid file removal to
stop script
added pid file removal to stop script
Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/e79fed42
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/e79fed42
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/e79fed42
Branch: refs/remotes/origin/master
Commit: e79fed42f421f7ca23290db74630ebdb272fc87d
Parents: fc4dfcf
Author: Jon Maron <jm...@hortonworks.com>
Authored: Fri May 1 09:49:35 2015 -0400
Committer: Jon Maron <jm...@hortonworks.com>
Committed: Fri May 1 09:49:35 2015 -0400
----------------------------------------------------------------------
src/bin/metadata-stop.sh | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/e79fed42/src/bin/metadata-stop.sh
----------------------------------------------------------------------
diff --git a/src/bin/metadata-stop.sh b/src/bin/metadata-stop.sh
index e6bc51c..c99759d 100755
--- a/src/bin/metadata-stop.sh
+++ b/src/bin/metadata-stop.sh
@@ -40,6 +40,7 @@ if [ -f $METADATA_PID_FILE ]
then
kill -15 `cat $METADATA_PID_FILE`
echo Metadata Server stopped
+ rm -rf $METADATA_PID_FILE
else
echo "pid file $METADATA_PID_FILE not present"
fi