You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gw...@apache.org on 2016/04/06 02:09:25 UTC
[18/21] kafka git commit: KAFKA-3384: Conform to POSIX kill usage
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 <ml...@aya.yale.edu>
Reviewers: Geoff Anderson <ge...@confluent.io>, Ewen Cheslack-Postava <ew...@confluent.io>
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 <ml...@aya.yale.edu>
Authored: Mon Apr 4 22:07:20 2016 -0700
Committer: Gwen Shapira <cs...@gmail.com>
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