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-13-2017 08:44 PM
Created 03-14-2017 02:00 PM
Thanks for the response. And BTW how to reinstall Falcon? Appreciate the feedback.
Created 03-14-2017 04:12 PM
You can follow doc to Install Falcon using Ambari UI or through the command line:
Created 03-15-2017 04:41 AM
@n c - Can you please upvote and accept the answer, if it resolved your issue. Thanks
Created 03-21-2017 10:35 PM
Is there any more help needed here. Thanks
Created 03-13-2017 08:46 PM
Non related to your question, but is your 503 issue related to:
Depending of the HDP version you have, an external dependency must be downloaded from the internet to get Falcon UI working.
Created 03-14-2017 01:59 PM
Yes I did check that but the said jar file is already available in our installation. Thanks
Created 03-15-2017 02:42 PM
Our vendor asked us to use this for removing falcon :
But the path given in the first command itself I cannot find in my installation :
http://AMBARI_SERVER_HOST:8080/api/v1/clusters/c1/services/SERVICENAME
Is the above path local to the installation given in the example?
By "SERVICE" I am equating with falcon as that is the service I am trying to remove.
When I searched for falcon in the Ambari host I got a bunch of directories - but substituting any of the directories in the above command only got me :
{ "status": 404, "message": "Not Found" }
Created 03-15-2017 02:55 PM
If you are accessing the URL: http://AMBARI_SERVER_HOST:8080/api/v1/clusters/c1/services/FALCON
And getting 404 which means FALCON service is not installed on your cluster.
You can list all the services that are installed on the cluster as following: http://AMBARI_SERVER_HOST:8080/api/v1/clusters/c1/services
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.