----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62330/#review185410 -----------------------------------------------------------
Ship it! Ship It! - Nate Cole On Sept. 14, 2017, 9:43 a.m., Dmitro Lisnichenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62330/ > ----------------------------------------------------------- > > (Updated Sept. 14, 2017, 9:43 a.m.) > > > Review request for Ambari, Jonathan Hurley and Nate Cole. > > > Bugs: AMBARI-21940 > https://issues.apache.org/jira/browse/AMBARI-21940 > > > Repository: ambari > > > Description > ------- > > Perform an upgrade from Ambari version older than 2.5.1 (like 2.5.0 or 2.4.x) > to 2.6.0 > > Fails with below error > {code} > 12 Sep 2017 02:16:35,727 INFO [main] TransactionalLock$LockArea:121 - > LockArea HRC_STATUS_CACHE is enabled > 12 Sep 2017 02:16:36,091 INFO [main] LockFactory:53 - Lock profiling is > disabled > 12 Sep 2017 02:16:36,112 INFO [main] SchemaUpgradeHelper:391 - Upgrading > schema to target version = 2.6.0.0 > 12 Sep 2017 02:16:36,115 INFO [main] SchemaUpgradeHelper:400 - Upgrading > schema from source version = 2.5.0 > 12 Sep 2017 02:16:36,118 ERROR [main] SchemaUpgradeHelper:434 - Exception > occurred during upgrade, failed > org.apache.ambari.server.AmbariException: Database version does not meet > minimal upgrade requirements. Expected version should be not less than 2.5.1, > current version is 2.5.0 > at > org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:405) > 12 Sep 2017 02:16:40,419 INFO [main] Configuration:3044 - Reading password > from existing file > 12 Sep 2017 02:16:40,439 INFO [main] Configuration:3529 - Hosts Mapping File > null > 12 Sep 2017 02:16:40,439 INFO [main] HostsMap:60 - Using hostsmap file null > 12 Sep 2017 02:16:41,290 INFO [main] ControllerModule:221 - Detected MYSQL > as the database type from the JDBC URL > {code} > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/upgrade/SchemaUpgradeHelper.java > 961c4f8b33 > > ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog2402.java > PRE-CREATION > > ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog242.java > PRE-CREATION > > ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java > PRE-CREATION > > ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog242Test.java > PRE-CREATION > > ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java > PRE-CREATION > > > Diff: https://reviews.apache.org/r/62330/diff/1/ > > > Testing > ------- > > unit tests are running > check on live cluster > > > Thanks, > > Dmitro Lisnichenko > >
