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 <[email protected]> wrote:

> Thanks Jaimin
>
> On Wed, Dec 23, 2015 at 3:30 PM, Jaimin Jetly <[email protected]>
> 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 <[email protected]>
>> *Sent:* Tuesday, December 22, 2015 11:15 PM
>> *To:* [email protected]
>> *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

Reply via email to