Commit Graph

17 Commits

Author SHA1 Message Date
Hailey Ni 40e817eeff
KAFKA-15471 [MINOR]: Fix backward-compatibility bug (#14996)
Fixes a backwards-compatibility issue in the KIP-979 change to the kafka-server-stop.sh script where it would not stop processes if run from a directory that differed from the directory where the processes were started form and the config file specified at start time was a relative path.

Reviewers: Ron Dagostino <rdagostino@confluent.io>
2023-12-14 10:32:16 -05:00
Hailey Ni ad1d621ca4
KAFKA-15471: Allow independently stop KRaft controllers or brokers (#14400)
Reviewers: Ron Dagostino <rdagostino@confluent.io>
2023-12-12 03:20:43 -05:00
Jesse Gorzinski 976e6ea0f7
MINOR: Tweak IBM i support in "stop" scripts (#9810)
Reviewers: Mickael Maison <mickael.maison@gmail.com>
2021-01-21 18:18:48 +00:00
Luke Chen 3669cde00b KAFKA-10390; Remove ignore case option when grep process info to be more specific
Remove ignore case option when grep process info to be more specific since our entry point is definitely `kafka.Kafka`.

Author: Luke Chen <showuon@gmail.com>

Reviewers: Gwen Shapira, Lucas Bradstreet

Closes #9179 from showuon/KAFKA-10390
2020-09-30 11:54:39 -07:00
Jesse Gorzinski 55c1ab62c9
KAFKA-10272: Add IBM i support to "stop" scripts (#9023)
Reviewers: Mickael Maison <mickael.maison@gmail.com>
2020-09-02 17:46:24 +02:00
jiameixie 2c1096cb0e
KAFKA-10018: Change command line tools from /bin/sh to /bin/bash (#8692)
Reviewers: Tom Bentley @tombentley, Boyang Chen <boyang@confluent.io>, Chia-Ping Tsai <chia7712@gmail.com>, Ismael Juma <ismael@confluent.io>, Colin P. McCabe <cmccabe@apache.org>, Matthias J. Sax <matthias@confluent.io>
2020-05-27 14:31:31 -07:00
zshuo 6d4cfad013
MINOR: Update shell scripts to support z/OS system (#7913)
Reviewers: Mickael Maison <mickael.maison@gmail.com>
2020-02-20 14:19:50 +00:00
Prasanna Gautam e5daa40e31 KAFKA-5473; handle ZK session expiration properly when a new session can't be established
(WIP: this commit isn't ready to be reviewed yet. I was checking the travis-ci build with the configuration changes in my account and opened the PR prematurely against trunk. I will make it consistent with Contribution guidelines once it's well tested.)

https://issues.apache.org/jira/browse/KAFKA-5473

Design:
`zookeeper.connection.retry.timeout.ms` => this determines how long to wait before triggering the shutdown. The default is 60000ms.

Currently the implementation only handles the `handleSessionEstablishmentError` by waiting for the sessionTimeout.

Author: Prasanna Gautam <prasannagautam@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>, Jun Rao <junrao@gmail.com>

Closes #3990 from prasincs/KAFKA-5473
2017-12-15 14:48:30 -08:00
Matt McClure 732b111f45 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
2016-04-04 22:07:20 -07:00
Sasaki Toru f7887bd6f9 KAFKA-3281: Improve message of *-server-stop.sh when process is not running
Stop scritps such as kafka-server-stop.sh log messages of kill command's error when processes aren't running.
This PR changes this message to "No kafka server to stop".

Author: Sasaki Toru <sasakitoa@nttdata.co.jp>

Reviewers: Gwen Shapira

Closes #971 from sasakitoa/stop_scripts_says_not_good_message
2016-03-03 17:41:47 -08:00
Martin Kleppmann c3520fe7e0 kafka-server-stop.sh doesn't stop broker; reviewed by Neha Narkhede 2014-03-06 09:35:20 -08:00
Vladislav Pernin 51de7c55d2 kafka-1031; Little modification to the stop script to be able to kill the proper process; patched by Vladislav Pernin; reviewed by Jun Rao 2013-08-28 09:51:19 -07:00
Neha Narkhede 3629f6f882 Changing kafka-server-stop.sh to use SIGTERM for Kafka server process termination. No review
git-svn-id: https://svn.apache.org/repos/asf/incubator/kafka/branches/0.8@1397434 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 04:48:33 +00:00
Neha Narkhede fa09aacdbd KAFKA-141 Check and make sure that the files that have been donated have been updated to reflect the new ASF copyright;patched by nehanarkhede; reviewd by jjkoshy
git-svn-id: https://svn.apache.org/repos/asf/incubator/kafka/trunk@1180185 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 19:51:28 +00:00
Neha Narkhede f34dfc002d Reverting accidental commit 1180110, which is pending review for KAFKA-141
git-svn-id: https://svn.apache.org/repos/asf/incubator/kafka/trunk@1180117 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 17:33:43 +00:00
Neha Narkhede a99becbe49 Minor patch, removing the .gitigore file
git-svn-id: https://svn.apache.org/repos/asf/incubator/kafka/trunk@1180110 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 17:18:56 +00:00
Edward Jay Kreps 642da2f28c Initial checkin of Kafka to Apache SVN. This corresponds to 709afe4ec7 except that git specific files have been removed and code has been put into trunk/branches/site/etc. This is just a copy of master, branches and history are not being converted since we can't find a good tool for it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/kafka/trunk@1152970 13f79535-47bb-0310-9956-ffa450edef68
2011-08-01 23:41:24 +00:00