Skip to content

Commit 018110a

Browse files
committed
spark-5889: remove pid file after stopping service
1 parent 088d2a2 commit 018110a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sbin/spark-daemon.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ case $option in
169169
if [[ $(ps -p "$TARGET_ID" -o comm=) =~ "java" ]]; then
170170
echo "stopping $command"
171171
kill "$TARGET_ID"
172+
rm -f $pid
172173
else
173174
echo "no $command to stop"
174175
fi

0 commit comments

Comments
 (0)