Anand, You might want to check our ambari server log.
the service that you are trying to delete should be in one of the following state: DISABLED/INIT/INSTALLED/INSTALL_FAILED/UNKNOWN/UNINSTALLED/INSTALLING to use the API to delete. On Sun, Feb 19, 2017 at 4:08 PM, Anandha L Ranganathan < [email protected]> wrote: > I am trying to delete a service but I am unable to do it. In the past I > was successful in deleting the service but this time it is throwing error. > > > 1. curl -u admin:xxxxxxxx -H "X-Requested-By: ambari" -X DELETE > http://localhost:8080/api/v1/clusters/prod/services/PRESTO > 2. { > 3. "status": 500, > 4. "message": "Server Error" > 5. } > > How do I delete the service ? > > -- Giri
