Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Highlighted

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

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.