Repository: kafka
Updated Branches:
  refs/heads/trunk 85039ab43 -> d9cabfde6


KAFKA-2874; shutdown ZK process reliably

Author: Michael G. Noll <[email protected]>

Reviewers: Flavio Junqueira <[email protected]>, Jun Rao <[email protected]>

Closes #573 from miguno/KAFKA-2874


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/d9cabfde
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/d9cabfde
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/d9cabfde

Branch: refs/heads/trunk
Commit: d9cabfde6cd94fa62ed698d14321e7f1494933c0
Parents: 85039ab
Author: Michael G. Noll <[email protected]>
Authored: Wed Jan 6 15:21:49 2016 -0800
Committer: Jun Rao <[email protected]>
Committed: Wed Jan 6 15:21:49 2016 -0800

----------------------------------------------------------------------
 bin/zookeeper-server-stop.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/d9cabfde/bin/zookeeper-server-stop.sh
----------------------------------------------------------------------
diff --git a/bin/zookeeper-server-stop.sh b/bin/zookeeper-server-stop.sh
index 975d9ae..409176f 100755
--- a/bin/zookeeper-server-stop.sh
+++ b/bin/zookeeper-server-stop.sh
@@ -13,4 +13,4 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-ps ax | grep -i 'zookeeper' | grep -v grep | awk '{print $1}' | xargs kill 
-SIGINT
+ps ax | grep java | grep -i QuorumPeerMain | grep -v grep | awk '{print $1}' | 
xargs kill -SIGTERM

Reply via email to