How restart arcadia service programmatically through Cloudera Manager

Cloudera Manager provides a REST API to manage services.

Using the API within scripts can easily control certain actions like restarting specific roles.

Here’s ane example POST command to restart the visualization server:

curl -X POST  -H "Content-Type:application/json" -u admin:admin  
-d ' { "items" : [ "arcadiaenterprise-ARCVIZ-fa373f09ab5f1e7fbd1f194428253c21"] }' 

To identify the “items” you want to find role name. You can do that by running a different curl command to list all the roles under the arcadiaentrprise service.

curl -u admin:admin**


1 Like