Created 12-15-2022 08:57 PM
I am using CDP 7.1.4 version.Hadoop & Ecosystem without using Cloudera Manager UIIs there a way to start and stop with Linux commands?
Created 12-16-2022 11:58 AM
Hi @ditto
You can use API to start the services.
To Stop and Start a CDH service, you could try to make use of the CM APIs such as the below,
Start the service - POST /clusters/{clusterName}/services/{serviceName}/commands/start
Stop the service - POST /clusters/{clusterName}/services/{serviceName}/commands/stop
https://cloudera.github.io/cm_api/apidocs/v6/path__clusters_-clusterName-_commands_stop.html
https://cloudera.github.io/cm_api/apidocs/v6/path__clusters_-clusterName-_commands_start.html
https://cloudera.github.io/cm_api/apidocs/v6/index.html