Created 11-08-2017 01:43 PM
Hi all,
The ambari-server is upgraded from 2.5.3 to 2.6 in my cluster. The repository is visible and updated ambari rpm through yum.
The ambari-server setup went smooth and "completed successfully".
The ambari-server start command fails to start ambari by, Unable to determine server PID and Ambari Server java process died with exitcode 255.
Full error message is shown below:
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.........Unable to determine server PID. Retrying... ......Unable to determine server PID. Retrying... ......Unable to determine server PID. Retrying... ERROR: Exiting with exit code -1. REASON: Ambari Server java process died with exitcode 255. Check /var/log/ambari-server/ambari-server.out for more information.
/var/log/ambari-server/ambari-server.out:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 An unexpected error occured during starting Ambari Server. org.apache.ambari.server.AmbariException: Current database store version is not compatible with current server version, serverVersion=2.6 .0.0, schemaVersion=2.5.2 at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:24 5) at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1058)
Please help at the earliest...
Thanks alot.
Created 11-08-2017 01:56 PM
This error indicates that you have installed Ambari Server Binary 2.6 using "yum upgrade ambari-server", But your Ambari Database has Schema version 2.5.2
Current database store version is not compatible with current server version, serverVersion=2.6 .0.0, schemaVersion=2.5.2 at
.
So please make sure that you run the following command first to upgrade the Ambari DB schema which is pointing to 2.5.2
# ambari-server upgrade # ambari-server start
.
Ambari server upgrade command will upgrade the Ambari DB schems (which is currently having the 2.5.2 version pointing inside it's "metainfo" table will also be updates along with other table schema upgrade on Ambari DB.
Created 11-08-2017 01:56 PM
This error indicates that you have installed Ambari Server Binary 2.6 using "yum upgrade ambari-server", But your Ambari Database has Schema version 2.5.2
Current database store version is not compatible with current server version, serverVersion=2.6 .0.0, schemaVersion=2.5.2 at
.
So please make sure that you run the following command first to upgrade the Ambari DB schema which is pointing to 2.5.2
# ambari-server upgrade # ambari-server start
.
Ambari server upgrade command will upgrade the Ambari DB schems (which is currently having the 2.5.2 version pointing inside it's "metainfo" table will also be updates along with other table schema upgrade on Ambari DB.
Created 11-16-2017 01:58 PM
Good to know that the issue is resolved. As the issue is resolved, hence it will be also great if you can mark this HCC thread as Answered by clicking on the "Accept" Button on the correct answer. That way other HCC users can quickly find the solution when they encounter the same issue.
Created 11-16-2017 01:35 PM
Thanks @Jay Kumar SenSharma
It worked!!! 🙂