Skip to content

Commit 1d41e23

Browse files
Update managing_services.txt
1 parent 447a3a8 commit 1d41e23

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hadoop/administration/hortonworks/scripts/managing_services.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"cont
88
curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop All Components"},"Body":{"ServiceComponentInfo":{"state":"INSTALLED"}}}' http://hdpserver.itversity.com:8080/api/v1/clusters/hdp/services/HIVE/components/COMPONENT_NAME
99

1010
curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://hdpserver.itversity.com:8080/api/v1/clusters/hdp/services/HIVE
11+
12+
curl -i -H "X-Requested-By: ambari" -u admin:admin -X PUT \
13+
-d '{"RequestInfo":{"context":"Stop Service"},"Body":{"ServiceInfo":{"state":"INSTALLED"}}}' \
14+
http://namenode:8080/api/v1/clusters/hdp/services/OOZIE

0 commit comments

Comments
 (0)