Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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