Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.5.1
-
None
Description
On trying to upgrade ambari from 2.4.2.0 to 2.5.1.0 upgrade is failing with nullPointerException during ambari schema upgrade
20 Apr 2017 05:55:01,410 ERROR [main] SchemaUpgradeHelper:257 - Upgrade failed. java.lang.NullPointerException at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.updateMetaInfoVersion(AbstractUpgradeCatalog.java:272) at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:128) at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.updateDatabaseSchemaVersion(AbstractUpgradeCatalog.java:949) at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeOnPostUpgrade(SchemaUpgradeHelper.java:255) at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:433) 20 Apr 2017 05:55:01,413 ERROR [main] SchemaUpgradeHelper:444 - Exception occurred during upgrade, failed org.apache.ambari.server.AmbariException at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeOnPostUpgrade(SchemaUpgradeHelper.java:258) at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:433) Caused by: java.lang.NullPointerException at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.updateMetaInfoVersion(AbstractUpgradeCatalog.java:272) at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:128) at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.updateDatabaseSchemaVersion(AbstractUpgradeCatalog.java:949) at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeOnPostUpgrade(SchemaUpgradeHelper.java:255) ... 1 more
Attachments
Attachments
Issue Links
- links to