Start the Ambari Server
Perform the below steps to start the Ambari server:
- Run the following command on the Ambari Server host:
ambari-server start
root@odp002:~# ambari-server start
Using python /usr/bin/python
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari database consistency check started...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start.............................................
Server started listening on 8080
DB configs consistency check: no errors and warnings were found.
Ambari Server 'start' completed successfully.
- To check the Ambari Server processes, run the following command.
ambari-server status
- To stop the Ambari server.
ambari-server stop
If you plan to use an existing database instance for Hive or Ranger, you must prepare to use an existing database before installing your Hadoop cluster.
On Ambari Server start, Ambari runs a database consistency check looking for issues. If any issues are found, the Ambari Server start will abort and display the following message: DB configs consistency check failed
.
Ambari writes more details about database consistency check results to the /var/log/ambari-server/ambari-server-check database.log
file.
You can force the Ambari Server to start by skipping this check with the following option: ambari-server start --skip-database-check
If you have database issues, by choosing to skip this check, do not make any changes to your cluster topology or perform a cluster upgrade until you correct the database consistency issues. Contact Acceldata Support and provide the ambari server-check-database.log output for assistance.