ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giridharan Kesavan <giridha...@robinsystems.com>
Subject Re: Unable to delete a service using Ambari API
Date Mon, 20 Feb 2017 14:41:39 GMT
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 <
analog.sony@gmail.com> 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

Mime
View raw message