You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
I ran into this same problem. For me it turned out that my ssh user didn't have sudo setup for no password. The user executing the stop and start commands needed an entry in the /etc/sudoers file with the NOPASSWD option.
It was a little tough to figure out because there were no errors from the rolling restart script. It would just hang at 'Stopping' on the first broker. To troubleshoot I changed stop and start options to do something simple:
and I saw that the script was indeed connecting over ssh and was executing the stop command (the file /tmp/testing-stop was created). Then seeing in the help output "(do not include sudo)" for start/stop overrides it led me to the conclusion that the problem was with sudo requiring a password. After configuring password-less sudo for my user on all the brokers the script worked perfect.
It might be a good idea to add something to the documentation about needing password-less sudo on the brokers.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
I tried run Kafka-rolling-restart --cluster-type Kafka but does not respond
my kafka config
I don't know where should I check or trace it debuging
The text was updated successfully, but these errors were encountered: