Member since
02-14-2018
1
Post
2
Kudos Received
0
Solutions
05-23-2018
12:25 PM
2 Kudos
RESTART ALL SERVICES in a cluster curl -u admin:$PASSWORD -i -H 'X-Requested-By: ambari' -X POST -d '{"RequestInfo": {"command": "RESTART","context": "Restart all services","operation_level": "host_component"},"Requests/resource_filters": [{"hosts_predicate": "HostRoles/cluster_name=$CLUSTER_NAME"}]}' http://headNodeHost:8080/api/v1/clusters/cl1/requests
... View more