atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venkat...@apache.org
Subject [05/50] [abbrv] incubator-atlas git commit: added pid file removal to stop script
Date Wed, 13 May 2015 21:27:46 GMT
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 <jmaron@hortonworks.com>
Authored: Fri May 1 09:49:35 2015 -0400
Committer: Jon Maron <jmaron@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


Mime
View raw message