Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Duplicate
-
0.10.0.1
-
None
-
None
-
Tested in Debian Jessy
Description
kafka-server-stop.sh greps for the process ID to kill with the following:
PIDS=$(ps ax | grep -i 'kafka\.Kafka' | grep java | grep -v grep | awk '{print $1}')
However, if Kafka is launched via the kafka-server-start.sh script, the process doesn't include kafka.Kafka, the grep fails to find the process, and it returns the failure message, No Kafka server to stop.
Attachments
Issue Links
- is duplicated by
-
KAFKA-4931 stop script fails due 4096 ps output limit
- Patch Available
- links to