Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to remove Falcon service from Ambari?

avatar

Hi Team,

Can anyone please provide me steps to remove Falcon service using Ambari or CLI?

1 ACCEPTED SOLUTION

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
4 REPLIES 4

avatar

You can delete a service with the REST API through ambari. You will need to stop the service first, then use the following command:

curl -u admin:admin -i -H 'X-Requested-By: ambari' -X DELETE http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/services/FALCON

avatar

Its throwing error:

HTTP/1.1 405 Http method DELETE is not supported by this URL

avatar
Rising Star

@Sridhar Bandaru

It would be a good idea to create a backup of the Ambari database before proceeding.

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_ambari_reference_guide/content/_back_up_c...

Please check the response you are getting when you run the below command.

# curl -u admin:admin -i -H 'X-Requested-By: ambari' -X GET http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/services/FALCON

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login