Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
0.10.2.0
-
None
Description
When run the script: bin/zookeeper-server-stop.sh fails to stop the zookeeper server process if the ps output exceeds 4096 character limit of linux. I think instead of ps we can use ${JAVA_HOME}/bin/jps -vl | grep QuorumPeerMain it would correctly stop zookeeper process. Currently we are using kill
PIDS=$(ps ax | grep java | grep -i QuorumPeerMain | grep -v grep | awk '
{print $1}')
Attachments
Issue Links
- duplicates
-
KAFKA-4297 Cannot Stop Kafka with Shell Script
- Resolved
-
KAFKA-4389 kafka-server.stop.sh not work
- Resolved
-
KAFKA-4264 kafka-server-stop.sh fails is Kafka launched via kafka-server-start.sh
- Resolved
- links to