- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Kafka broker needs restart via CLI
Created ‎03-29-2021 03:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a CDP 7.1.4 Cluster, but currently my cloudera manager is not accessible. How can I restart my kafka brokers in the CLI? i tried kafka-server-stop and start but it says that its no longer supported.
Created on ‎03-29-2021 06:43 PM - edited ‎03-29-2021 06:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As you mentioned certain cli tools are marked not to be supported, for your requirement being the kafka-server-startup and shutdowns scripts. It is not guaranteed that the manual setup initializes the context of Kafka the same way, as Cloudera Manager would. While it may work for the restart but there are environment scripts and some other process management that Cloudera Manager does. Hence, when you restart using Cloudera Manager there would be uncertainties on the state of the process.
As you said you have problems accessing the Cloudera Manager UI, you can also use the Cloudera Manager API for your requirement.
https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/cm_intro_api.html
