Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Is there a way to remove the services from ambari and add the services once again?

avatar
Contributor
 
1 ACCEPTED SOLUTION

avatar
Contributor

13899-amba.png

This are the things i could find in service actions tab

View solution in original post

10 REPLIES 10

avatar

Please use the below API to delete the service from Ambari-2.2.1.0. Below example shows how to delete KNOX service, similarly you can modify its values to reflect your need.

curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://<AMBARi_SERVER_HOST>:8080/api/v1/clusters/<$CLUSTER_NAME>/services/KNOX

To add the service you can refer to this documentation.