Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka process is not correctly identified in init.d script #31

Open
jpwmeta opened this issue Aug 31, 2018 · 0 comments
Open

Kafka process is not correctly identified in init.d script #31

jpwmeta opened this issue Aug 31, 2018 · 0 comments

Comments

@jpwmeta
Copy link

jpwmeta commented Aug 31, 2018

In the /etc/init.d/kafka script, the findPid() function uses java class to identify the kafka process:

CLASS=kafka.Kafka
findPid() {
  FOUND_PID=`pgrep -u $USER -f $CLASS`
}

However, the java class listed in the command line for the kafka process is:

io.confluent.support.metrics.SupportedKafka

This prevents service commands for kafka from functioning properly. Modifying the class name in the init.d script resolves this issue.

Issue identified on confluent version 4.1.1. Have not tested on other versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant