Support Questions

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

Uninstall Falcon

avatar
Rising Star

Given the 503 error we are getting when trying to open the Falcon Web UI, our support engineer has recommended that we uninstall and reinstall falcon.

So I did a bit of research and found this command :

curl -u $USER:$PASS -i -H 'X-Requested-By: ambari'-X DELETE  http://$AMBARI_HOST:$AMBARI_PORT/api/v1/clusters/<cluster-name>/services/<service-name>;

So the $AMBARI_HOST in above command is the host on which Ambari is running - and not the host Falcon is running?

And what is the $AMBARI_PORT/port number to be used in the above command - 8080?

The USER/PASS is root and its password or falcon and its password? (I had done the HDP/Ambari installation as root).

Appreciate the clarification.

1 ACCEPTED SOLUTION

avatar
  • Yes $AMBARI_HOST is the ambari server host
  • $AMBARI_PORT is the port you use for logging into Ambari by default 8080, unless you are using Wire encryption, for that case it will be 8443
  • The USER/PASS are the ones you use to logon to ambari, generally the 'admin' user and its password.

View solution in original post

14 REPLIES 14

avatar
Rising Star

When I ran your command got this :

{
  "status": 403,
  "message": "Full authentication is required to access this resource"
}

avatar
Master Mentor

@n c

While using web browser, You will need to open the http://AMBARI_SERVER_HOST:8080 URL first in the browser then it will ask for username or password . One you are authenticated then you can open the previously mentioned URL. http://AMBARI_SERVER_HOST:8080/api/v1/clusters/c1/services

If you are using Curl or wget then you can simply use the following:

curl -u $USER:$PASS -i -H 'X-Requested-By: ambari'  -X GET http://AMBARI_SERVER_HOST:8080/api/v1/clusters/c1/services

.

avatar
Rising Star

Thanks. I was missing the cluster name in the command. Thanks again.

avatar

Hi @n c - Can you please post the exact command you are trying and any stack trace / screenshots for your issue.

Also, when you logon to Ambari, can see Falcon as a service on the Ambari UI.

avatar
Expert Contributor

As mentioned by Namit, do be sure to follow the Prerequisite instructions under https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_data-movement-and-integration/content/ch... before reinstalling. If you encounter any issues with these instructions, please let me know.