ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jongchul seon <jongchul.s...@gmail.com>
Subject Re: ambari upgrade from 1.7 to 2.0?
Date Fri, 17 Apr 2015 12:11:22 GMT
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>:

>  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