guluo created AMBARI-26494:
------------------------------
Summary: Ambari server failed to start due to database check
failure
Key: AMBARI-26494
URL: https://issues.apache.org/jira/browse/AMBARI-26494
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 3.1.0
Environment: ambari 3.1.0.0-SNAPSHOT
Reporter: guluo
Assignee: guluo
After AMBARI-26453
I use Postgres as the Ambari database, the `metainfo` table contains a fixed
`version` value of `3.0.0`. As a result, when attempting to start Ambari
version `3.1.0.0-SNAPSHOT`, a database check failure occurs, causing the server
startup to fail.
Error logs as follow.
2025-04-27 14:43:26,350 ERROR [main] AmbariServer:1136 - Failed to run the
Ambari Server
org.apache.ambari.server.AmbariException: Current database store version is not
compatible with current server version, serverVersion=3.1.0.0,
schemaVersion=3.0.0
at
org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:255)
at
org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1121)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]