KAFKA-3384: Conform to POSIX kill usage I believe this addresses KAFKA-3384.
The POSIX kill manpage is at http://pubs.opengroup.org/onlinepubs/9699919799/utilities/kill.html Author: Matt McClure <[email protected]> Reviewers: Geoff Anderson <[email protected]>, Ewen Cheslack-Postava <[email protected]> Closes #1148 from matthewlmcclure/KAFKA-3384 Project: http://git-wip-us.apache.org/repos/asf/kafka/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/d1a5883c Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/d1a5883c Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/d1a5883c Branch: refs/heads/0.10.0 Commit: d1a5883c8ad69fbd16c3dc03ff05db887580ded5 Parents: c36268f Author: Matt McClure <[email protected]> Authored: Mon Apr 4 22:07:20 2016 -0700 Committer: Gwen Shapira <[email protected]> Committed: Tue Apr 5 17:08:53 2016 -0700 ---------------------------------------------------------------------- bin/kafka-server-stop.sh | 2 +- bin/zookeeper-server-stop.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka/blob/d1a5883c/bin/kafka-server-stop.sh ---------------------------------------------------------------------- diff --git a/bin/kafka-server-stop.sh b/bin/kafka-server-stop.sh index f75ded7..d3c660c 100755 --- a/bin/kafka-server-stop.sh +++ b/bin/kafka-server-stop.sh @@ -19,6 +19,6 @@ if [ -z "$PIDS" ]; then echo "No kafka server to stop" exit 1 else - kill -SIGTERM $PIDS + kill -s TERM $PIDS fi http://git-wip-us.apache.org/repos/asf/kafka/blob/d1a5883c/bin/zookeeper-server-stop.sh ---------------------------------------------------------------------- diff --git a/bin/zookeeper-server-stop.sh b/bin/zookeeper-server-stop.sh index 07c7910..f771064 100755 --- a/bin/zookeeper-server-stop.sh +++ b/bin/zookeeper-server-stop.sh @@ -19,6 +19,6 @@ if [ -z "$PIDS" ]; then echo "No zookeeper server to stop" exit 1 else - kill -SIGTERM $PIDS + kill -s TERM $PIDS fi
