ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiaoyong Zhu <xiaoy...@microsoft.com>
Subject RE: ambari upgrade from 1.7 to 2.0?
Date Mon, 20 Apr 2015 03:09:17 GMT
Thanks! I didn't see the below docs before - following it resolves my issue:)

Xiaoyong

From: Alejandro Fernandez [mailto:afernandez@hortonworks.com]
Sent: Saturday, April 18, 2015 1:26 AM
To: user@ambari.apache.org
Subject: Re: ambari upgrade from 1.7 to 2.0?

* 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 <jongchul.seon@gmail.com<mailto:jongchul.seon@gmail.com>>
Reply-To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" <user@ambari.apache.org<mailto:user@ambari.apache.org>>
Date: Friday, April 17, 2015 at 5:11 AM
To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" <user@ambari.apache.org<mailto:user@ambari.apache.org>>
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 <xiaoyzhu@microsoft.com<mailto:xiaoyzhu@microsoft.com>>:
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



Mime
View raw message