Support Questions

Find answers, ask questions, and share your expertise

Stop the Cloudera Management Services via CLI.

avatar
Explorer

I want to stop the Cloudera Management Services via CLI. how can this be done?

 

It is required that i use ansible to create a complete update command that will do the rest automaticaly.

 

So i need the stop & stard Cloudera Management Services via CLI

 

1 ACCEPTED SOLUTION

avatar
Guru

The best way would be by using the CM API.  Here is a handy blog entry describing how to use the API:

 

http://blog.cloudera.com/blog/2012/09/automating-your-cluster-with-cloudera-manager-api/

 

Also, we have v2 of the API out now, which is described here:

 

http://cloudera.github.io/cm_api/apidocs/v2/index.html

View solution in original post

1 REPLY 1

avatar
Guru

The best way would be by using the CM API.  Here is a handy blog entry describing how to use the API:

 

http://blog.cloudera.com/blog/2012/09/automating-your-cluster-with-cloudera-manager-api/

 

Also, we have v2 of the API out now, which is described here:

 

http://cloudera.github.io/cm_api/apidocs/v2/index.html