[ https://issues.apache.org/jira/browse/KAFKA-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15116823#comment-15116823 ]
linwukang edited comment on KAFKA-1189 at 1/26/16 6:58 AM: ----------------------------------------------------------- It seem that, this script cannot work in CentOS 6.4. Command "ps ax | grep -i 'kafka\.Kafka'" return NOTHING so that kafka will not be killed. ----------------------------------------------------------------------------------------------- [root@node63 bin]# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.4 (Final) Release: 6.4 Codename: Final [root@node63 bin]# jps 8194 HRegionServer 3250 JournalNode 3612 NameNode 1915 QuorumPeerMain 10833 Master 6573 HMaster 4132 DFSZKFailoverController 13891 Worker 18524 Kafka 8073 ZooKeeperMain 4282 DataNode 4790 ResourceManager 4911 NodeManager 18903 Jps [root@node63 bin]# ps ax | grep -i 'kafka\.Kafka' [root@node63 bin]# was (Author: linwukang): It seem that, this script cannot work in CentOS 6.4. Command "ps ax | grep -i 'kafka\.Kafka'" return NOTHING so that kafka will not be killed. ----------------------------------------------------------------------------------------------- [root@node63 bin]# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.4 (Final) Release: 6.4 Codename: Final [root@node63 bin]# jps 8194 HRegionServer 3250 JournalNode 3612 NameNode 1915 QuorumPeerMain 10833 Master 6573 HMaster 4132 DFSZKFailoverController 13891 Worker 18524 Kafka 8073 ZooKeeperMain 4282 DataNode 4790 ResourceManager 4911 NodeManager 18903 Jps [root@node63 bin]# ps ax | grep -i 'kafka\.Kafka' [root@hdh63 bin]# > kafka-server-stop.sh doesn't stop broker > ---------------------------------------- > > Key: KAFKA-1189 > URL: https://issues.apache.org/jira/browse/KAFKA-1189 > Project: Kafka > Issue Type: Bug > Components: tools > Affects Versions: 0.8.0 > Environment: RHEL 6.4 64bit, Java 6u35 > Reporter: Bryan Baugher > Assignee: Martin Kleppmann > Priority: Minor > Labels: newbie > Fix For: 0.8.2.0 > > Attachments: KAFKA-1189.patch > > > Just before the 0.8.0 release this commit[1] changed the signal in the > kafka-server-stop.sh script from SIGTERM to SIGINT. This doesn't seem to stop > the broker. Changing this back to SIGTERM (or -15) fixes the issues. > [1] - > https://github.com/apache/kafka/commit/51de7c55d2b3107b79953f401fc8c9530bd0eea0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)