* Backup your database
* Follow 
http://docs.hortonworks.com/HDPDocuments/Ambari-2.0.0.0/Ambari_Doc_Suite/index.html#Item4.2.1
* Verify the version by running select * from metainfo;

From: jongchul seon <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Friday, April 17, 2015 at 5:11 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: ambari upgrade from 1.7 to 2.0?

You can try on your console

There is a command to help you upgrade your db schema.

You can check on official ambari site.

As I remember, the command is

ambari-server upgrade.

Please double confirm the command before you really execute it, since I am not 
100% sure the command.
Frankly I forgot the command.

Cheers


2015-04-17 10:07 GMT+00:00 Xiaoyong Zhu 
<[email protected]<mailto:[email protected]>>:
Hi Experts

I am using Ambari 1.7 with HDP2.2. however, when I want to try Ambari 2.0, 
Ambari cannot start with following errors:

17 Apr 2015 08:44:37,331  WARN [main] AmbariServer:592 - Current database store 
version is not compatible with current server version, serverVersion=2.0.0, 
schemaVersion=1.7.0
17 Apr 2015 08:44:37,337 ERROR [main] AmbariServer:690 - Failed to run the 
Ambari Server
org.apache.ambari.server.AmbariException: Current database store version is not 
compatible with current server version, serverVersion=2.0.0, schemaVersion=1.7.0
        at 
org.apache.ambari.server.controller.AmbariServer.checkDBVersion(AmbariServer.java:593)
        at 
org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:216)
        at 
org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:688)

is there a way I can upgrade to Ambari 2.0 directly without resetting the DB?

Thanks!

Xiaoyong


Reply via email to