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 22936: Ambari server upgrade fails if oozie, hive or hbase services are missing
Date Wed, 25 Jun 2014 13:56:46 GMT

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

(Updated June 25, 2014, 1:56 p.m.)


Review request for Ambari and Myroslav Papirkovskyy.


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


Repository: ambari


Description
-------

root@c6401 ~# ambari-server upgrade  
Using python /usr/bin/python2.6  
Upgrading ambari-server  
Updating properties in ambari.properties ...  
Fixing database objects owner  
ERROR: Error executing schema upgrade, please check the server logs.  
ERROR: Ambari server upgrade failed. Please look at /var/log/ambari-server
/ambari-server.log, for more details.  
ERROR: Exiting with exit code 11.  
REASON: Schema upgrade failed.

    
    
    
    21:09:42,863 ERROR [main] SchemaUpgradeHelper:195 - Upgrade failed.
    java.lang.NullPointerException
            at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.updateConfigurationProperties(AbstractUpgradeCatalog.java:200)
            at org.apache.ambari.server.upgrade.UpgradeCatalog161.addMissingConfigs(UpgradeCatalog161.java:303)
            at org.apache.ambari.server.upgrade.UpgradeCatalog161.executeDMLUpdates(UpgradeCatalog161.java:296)
            at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:255)
            at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:193)
            at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:242)
    21:09:42,869 ERROR [main] SchemaUpgradeHelper:251 - Exception occured during upgrade,
failed
    org.apache.ambari.server.AmbariException
            at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:196)
            at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:242)
    Caused by: java.lang.NullPointerException
            at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.updateConfigurationProperties(AbstractUpgradeCatalog.java:200)
            at org.apache.ambari.server.upgrade.UpgradeCatalog161.addMissingConfigs(UpgradeCatalog161.java:303)
            at org.apache.ambari.server.upgrade.UpgradeCatalog161.executeDMLUpdates(UpgradeCatalog161.java:296)
            at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:255)
            at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:193)
            ... 1 more
    


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/AbstractUpgradeCatalog.java
b809b0a 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


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