kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gwens...@apache.org
Subject [30/50] [abbrv] kafka git commit: KAFKA-3384: Conform to POSIX kill usage
Date Mon, 11 Apr 2016 23:09:46 GMT
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 <mlm@aya.yale.edu>

Reviewers: Geoff Anderson <geoff@confluent.io>, Ewen Cheslack-Postava <ewen@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/732b111f
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/732b111f
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/732b111f

Branch: refs/heads/0.10.0
Commit: 732b111f458454552411ce787c0b9f9fff8db642
Parents: 4ff6677
Author: Matt McClure <mlm@aya.yale.edu>
Authored: Mon Apr 4 22:07:20 2016 -0700
Committer: Ewen Cheslack-Postava <me@ewencp.org>
Committed: Mon Apr 4 22:07:20 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/732b111f/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/732b111f/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
 


Mime
View raw message