Skip to content

Instantly share code, notes, and snippets.

@xman1980
Created July 20, 2015 07:22
Show Gist options
  • Select an option

  • Save xman1980/033ef9c0932c1174ae83 to your computer and use it in GitHub Desktop.

Select an option

Save xman1980/033ef9c0932c1174ae83 to your computer and use it in GitHub Desktop.
cloudera_manager_api_service_restart
#https://cloudera.github.io/cm_api/apidocs/v7/index.html
curl -u 'admin:admin' -X POST -H "Content-Type:application/json" -d '{"items":["hive"]}' 'http://localhost:7180/api/v7/clusters/cluster/services/hive/commands/restart'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment