ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myroslav Papirkovskyy (JIRA)" <>
Subject [jira] [Created] (AMBARI-14066) Ambari Server Upgrade from 2.1.2 to fails with NPE
Date Wed, 25 Nov 2015 14:18:11 GMT
Myroslav Papirkovskyy created AMBARI-14066:

             Summary: Ambari Server Upgrade from 2.1.2 to fails with NPE
                 Key: AMBARI-14066
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.3
            Reporter: Myroslav Papirkovskyy
            Assignee: Myroslav Papirkovskyy
            Priority: Blocker
             Fix For: 2.1.3

When upgrading from Ambari 2.1.2-377 to, and running ambari-server upgrade, the upgrade
fails with a NPE:

[root@revo1 ~]# ambari-server upgrade
Using python  /usr/bin/python2
Upgrading ambari-server
Updating properties in ...
WARNING: Can not find file from previous version, skipping restore of
environment settings
Fixing database objects owner
Ambari Server configured for Embedded Postgres. Confirm you have made a backup of the Ambari
Server database [y/n] (y)? 
Upgrading database schema
Error output from schema upgrade command:
Exception in thread "main" org.apache.ambari.server.AmbariException
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executePreDMLUpdates(
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(
Caused by: java.lang.NullPointerException
	at org.apache.ambari.server.orm.entities.UpgradeEntity.isDowngradeAllowed(
	at org.apache.ambari.server.upgrade.UpgradeCatalog213.executeUpgradePreDMLUpdates(
	at org.apache.ambari.server.upgrade.UpgradeCatalog213.executePreDMLUpdates(
	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.preUpgradeData(
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executePreDMLUpdates(
	... 1 more

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.

This message was sent by Atlassian JIRA

View raw message