Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)
New Contributor

The ambari-server script used to wait a fixed amount of time before it gave up and thought the server wasn't going to start. On slower systems or test systems this limit was really easy to hit (50 seconds). Thanks to JIRA AMBARI-20220 this timeout has been parameterized. By adding the server.startup.web.timeout property (measured in seconds) to /etc/ambari-server/conf/ambari.properties you can change the timeout to something like this:

...

server.startup.web.timeout=120

...

so you don't get errors like this:

# ambari-server start

...

Waiting for server start............................................................

DB configs consistency check: no errors and warnings were found.

ERROR: Exiting with exit code 1.

REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting.

Note: You need at least Ambari 2.5 for this functionality to be supported

4,651 Views
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎07-16-2017 10:57 PM
Updated by:
 
Contributors
Top Kudoed Authors