ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myroslav Papirkovskyy (JIRA)" <>
Subject [jira] [Created] (AMBARI-14089) Schema upgrade is failed. (UpgradeCatalog210) (Upgrade from 1.7.0/2.0.1 etc to [Stack2.2]
Date Thu, 26 Nov 2015 14:42:10 GMT
Myroslav Papirkovskyy created AMBARI-14089:

             Summary: Schema upgrade is failed. (UpgradeCatalog210) (Upgrade from 1.7.0/2.0.1
etc to [Stack2.2]
                 Key: AMBARI-14089
             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

1)Install old version
2)Try to do ambari only upgrade to

Actual results:
Upgrading database schema
INFO: Loading properties from /etc/ambari-server/conf/
INFO: AMBARI_SERVER_LIB is not set, using default /usr/lib/ambari-server
INFO: Loading properties from /etc/ambari-server/conf/
INFO: Loading properties from /etc/ambari-server/conf/
INFO: about to run command: /usr/jdk64/jdk1.7.0_67/bin/java -cp '/etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/share/java/mysql-connector-java.jar'
org.apache.ambari.server.upgrade.SchemaUpgradeHelper > /var/log/ambari-server/ambari-server.out
INFO: Return code from schema upgrade command, retcode = 1
Error output from schema upgrade command:
Exception in thread "main" org.apache.ambari.server.AmbariException
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeUpgrade(
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(
Caused by: java.lang.NullPointerException
	at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(
	at org.apache.ambari.server.upgrade.UpgradeCatalog210.executeHostsDDLUpdates(
	at org.apache.ambari.server.upgrade.UpgradeCatalog210.executeDDLUpdates(
	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeSchema(
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeUpgrade(
	... 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