ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Zhang <zjf...@gmail.com>
Subject Re: Is it possible to uninstall service ?
Date Fri, 25 Dec 2015 01:12:13 GMT
Hi Jaimin,

I found the rest api didn't remove the files of the component. I guess it
just delete the metadata in db, is there any way to delete the files of the
component ? Or I have to do it manually ?

On Wed, Dec 23, 2015 at 3:48 PM, Jeff Zhang <zjffdu@gmail.com> wrote:

> Thanks Jaimin
>
> On Wed, Dec 23, 2015 at 3:30 PM, Jaimin Jetly <jaimin@hortonworks.com>
> wrote:
>
>> Hi Jeff,
>>
>>
>> Ambari UI does not provide a way to delete a service as of now.
>>
>>
>> Although deleting a service is possible via REST API
>>
>> *Example:*
>>
>> curl --user admin:admin -i  -H "X-Requested-By: ambari" -X DELETE http://`hostname
>> -f`:8080/api/v1/clusters/c1/services/${SERVICENAME}
>>
>>
>> Replace ${SERVICENAME} with the actual service name desired to be
>> deleted. Successful execution of this API will result in Ambari no more
>> managing or monitoring that service any further.
>>
>>
>> *Note:* Ambari does not uninstall service packages from cluster when a
>> service is deleted.
>>
>>
>> -- Thanks
>>
>>     Jaimin
>> ------------------------------
>> *From:* Jeff Zhang <zjffdu@gmail.com>
>> *Sent:* Tuesday, December 22, 2015 11:15 PM
>> *To:* user@ambari.apache.org
>> *Subject:* Is it possible to uninstall service ?
>>
>> I didn't find way to uninstall service through ambari UI, wondering is it
>> possible ?
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>



-- 
Best Regards

Jeff Zhang

Mime
View raw message