Support Questions

Find answers, ask questions, and share your expertise

hadoop & eco system cmdline start, stop

New Contributor

I am using CDP 7.1.4 version.
Hadoop & Ecosystem without using Cloudera Manager UI
Is there a way to start and stop with Linux commands?


Expert Contributor

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