Hello,


I have an issue where I need to delete Storm service but I may have botched
the order of steps.



Here are my commands:



*curl -u admin:password -H "X-Requested-By: ambari" -X PUT -d
'{"RequestInfo":{"context":"Stop
Service"},"Body":{"ServiceInfo":{"state":"INSTALLED"}}}'
http://localhost:8080/api/v1/clusters/c1/services/STORM
<http://localhost:8080/api/v1/clusters/c1/services/STORM>*



*curl -u admin:password -H "X-Requested-By: ambari" -X DELETE
http://localhost:8080/api/v1/clusters/c1/services/STORM
<http://localhost:8080/api/v1/clusters/c1/services/STORM>
{*

*  "status" : 500,*

*  "message" : "org.apache.ambari.server.controller.spi.SystemException: An
internal system exception occurred: Cannot remove STORM. Desired state
STARTED is not removable.  Service must be stopped or disabled."*



What do I do in this case?



Thanks


Artem Ervits

Reply via email to