Created 03-13-2017 08:37 PM
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.
Created 03-13-2017 08:44 PM
Created 03-15-2017 03:34 PM
When I ran your command got this :
{ "status": 403, "message": "Full authentication is required to access this resource" }
Created 03-15-2017 03:37 PM
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
Created 03-15-2017 07:58 PM
Thanks. I was missing the cluster name in the command. Thanks again.
Created 03-15-2017 04:17 PM
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.
Created 03-15-2017 08:57 PM
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.