ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Re: Review Request 41745: Upgrade from 1.6.1(and possibly other < 2.0.0) to 2.2.1 failed.
Date Tue, 29 Dec 2015 12:14:20 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41745/
-----------------------------------------------------------

(Updated Dec. 29, 2015, 2:14 p.m.)


Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-14508
    https://issues.apache.org/jira/browse/AMBARI-14508


Repository: ambari


Description
-------

Upgrade from old releases to 2.2.1 failed with following message:
{noformat}
Exception in thread "main" org.apache.ambari.server.AmbariException
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:230)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:304)
Caused by: java.lang.NullPointerException
at org.apache.ambari.server.upgrade.UpgradeCatalog221.updateAlerts(UpgradeCatalog221.java:146)
at org.apache.ambari.server.upgrade.UpgradeCatalog221.executeDMLUpdates(UpgradeCatalog221.java:123)
at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:660)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:227)
... 1 more
{noformat}


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog221.java 1257f70


Diff: https://reviews.apache.org/r/41745/diff/


Testing
-------

mvn clean test


Thanks,

Dmitro Lisnichenko


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message