ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 27478: Upgrade to 1.7.0 fails if Oozie was not installed with NPE
Date Sat, 01 Nov 2014 20:04:38 GMT

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

(Updated Nov. 1, 2014, 8:04 p.m.)


Review request for Ambari, Dmytro Sen and Mahadev Konar.


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


Repository: ambari


Description
-------


    19:04:05,155 ERROR [main] SchemaUpgradeHelper:196 - Upgrade failed. 
    java.lang.NullPointerException
    	at org.apache.ambari.server.upgrade.UpgradeCatalog170.updateOozieConfigs(UpgradeCatalog170.java:1078)
    	at org.apache.ambari.server.upgrade.UpgradeCatalog170.addMissingConfigs(UpgradeCatalog170.java:1043)
    	at org.apache.ambari.server.upgrade.UpgradeCatalog170.executeDMLUpdates(UpgradeCatalog170.java:651)
    	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:388)
    	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:194)
    	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:243)
    19:04:05,159 ERROR [main] SchemaUpgradeHelper:252 - Exception occured during upgrade,
failed
    org.apache.ambari.server.AmbariException
    	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:197)
    	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:243)
    Caused by: java.lang.NullPointerException
    	at org.apache.ambari.server.upgrade.UpgradeCatalog170.updateOozieConfigs(UpgradeCatalog170.java:1078)
    	at org.apache.ambari.server.upgrade.UpgradeCatalog170.addMissingConfigs(UpgradeCatalog170.java:1043)
    	at org.apache.ambari.server.upgrade.UpgradeCatalog170.executeDMLUpdates(UpgradeCatalog170.java:651)
    	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:388)
    	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:194)
    	... 1 more
    


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog170.java 911932b


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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


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