GitHub user Kamal15 opened a pull request:
https://github.com/apache/kafka/pull/1438
MINOR: Kafka And ZooKeeper Stop Scripts doesn't return PID
In Centos 6.5, 'ps -ax | grep java' command doesn't returns the full
process name. So, the
command doesn't returns the PID even Kafka and ZooKeeper is running.
Updated the script to use Java Process command (jps) which is elegant to
retrieve the running
java process PID
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Kamal15/kafka trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1438.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1438
----
commit 1706febbfc3c97467ec004f9dbe840617050967d
Author: Kamal15 <[email protected]>
Date: 2016-05-27T13:19:57Z
MINOR: Kafka And ZooKeeper Stop Scripts doesn't return PID
In Centos 6.5, 'ps -ax | grep java' command doesn't returns the full
process name. So, the
command doesn't returns the PID even Kafka and ZooKeeper is running.
Updated the script to use Java Process command (jps) which is elegant to
retrieve the running
java process PID
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---