You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2015/09/18 17:24:51 UTC

Review Request 38495: [Upgrade] ambari server schema upgrade failed for Path 1.6.1 -> 2.1.2 and 2.0.2->2.1.2 and 2.1.1->2.1.2

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

Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

{code}
Upgrade Path was 1.6.1 to 2.1.2.
root@os-r6-ambari-upgrade-oracle-5 ~]# ambari-server upgrade
Using python /usr/bin/python2.6
Upgrading ambari-server
Updating properties in ambari.properties ...
WARNING: Can not find ambari.properties.rpmsave file from previous version, skipping import of settings
WARNING: Can not find ambari-env.sh.rpmsave file from previous version, skipping restore of environment settings
Fixing database objects owner
Ambari Server configured for Oracle. Confirm you have made a backup of the Ambari Server database y/n ? y
Upgrading database schema
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.
{code}


Diffs
-----

  ambari-server/src/main/python/ambari_server/dbConfiguration.py 4b76781 
  ambari-server/src/main/python/ambari_server/serverUpgrade.py f9d65e9 
  ambari-server/src/main/python/ambari_server_main.py 0634090 
  ambari-server/src/test/python/TestAmbariServer.py 6467cd8 

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


Testing
-------

Unit tests passed


Thanks,

Dmytro Sen