Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Falcon - Green and started with amber alert - HTTP 503 response

Falcon - Green and started with amber alert - HTTP 503 response

New Contributor

I am able to start Falcon 0.10.0.2.6 with a green status, but an amber alert persists. The server is not listening on port 15000. I am using HDP 2.6.0.3-8. Can anyone tell me how to fix this?

2 REPLIES 2

Re: Falcon - Green and started with amber alert - HTTP 503 response

Super Mentor

@Michael Allen

There may be two possibilities.

Check-1). Ambari is showing Falcon status as green incorrectly. We can verify the same by looking at the following outputs and matching if the PID mentioned in the file is actually the correct or Stale PID?

# cat /var/run/falcon/falcon.pid 
# ps -ef | grep falcon

Check-2). From Ambari UI --> Falcon --> Service Actions --> "Run Service Check"

.

Check-3). Can you please confirm if you are able to run the following command without error from the falcon host?

# /usr/hdp/current/falcon-client/bin/falcon admin -version

Check-4). Please check if you are able to access the following URL (Replace the hostname with Falcon hostname

http://erie4.example.com:15000/api/options?user.name=ambari-qa&user.name=ambari-qa

.

Re: Falcon - Green and started with amber alert - HTTP 503 response

New Contributor

@Jay SenSharma Hi,

I have the same issue as Michael, I did your checks and the results are like follows

1) Both PID match

2) I get the following errors

2017-07-12 10:58:42,760 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2017-07-12 10:58:42,801 - Execute['/usr/hdp/current/falcon-client/bin/falcon admin -version'] {'logoutput': True, 'tries': 3, 'user': 'ambari-qa', 'try_sleep': 20}
ERROR: Unable to initialize Falcon Client object. Cause : Could not authenticate, Authentication failed, URL: http://<host>:15000/api/options?user.name=ambari-qa&user.name=ambari-qa, status: 503, message: Service Unavailable
2017-07-12 10:58:44,151 - Retrying after 20 seconds. Reason: Execution of '/usr/hdp/current/falcon-client/bin/falcon admin -version' returned 255. ERROR: Unable to initialize Falcon Client object. Cause : Could not authenticate, Authentication failed, URL: http://<host>:15000/api/options?user.name=ambari-qa&user.name=ambari-qa, status: 503, message: Service Unavailable

3) Basically the same error as above

Hadoop is installed, adding hadoop classpath to falcon classpath
ERROR: Unable to initialize Falcon Client object. Cause : Could not authenticate, Authentication failed, URL: http://<host>:15000/api/options?user.name=falcon&user.name=falcon, status: 503, message: Service Unavailable

4) error 404

HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

I have found that the Berkeley DB has to be installed before running falcon so I tried to follow the solution mentioned in this topic

https://community.hortonworks.com/questions/11862/falcon-ui-not-working.html?page=1&pageSize=10&sort...

but the issue still persists, nothing changed. Do you have any idea what might be wrong, what's worth checking?

Don't have an account?
Coming from Hortonworks? Activate your account here