[ 
https://issues.apache.org/jira/browse/AMBARI-20799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15977089#comment-15977089
 ] 

Hudson commented on AMBARI-20799:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1420 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/1420/])
AMBARI-20799 - Ambari fails to upgrade from 2.4.2.0 to 2.5.1.0 during (jhurley: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6e1d5287ae4d951d05fbf309be398f2738fc082c])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/AbstractUpgradeCatalog.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog212Test.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog212.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog251.java


> Ambari fails to upgrade from 2.4.2.0 to 2.5.1.0 during schema upgrade with NPE
> ------------------------------------------------------------------------------
>
>                 Key: AMBARI-20799
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20799
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.1
>            Reporter: Mahesh Nayak
>            Assignee: Jonathan Hurley
>             Fix For: 2.5.1
>
>         Attachments: AMBARI-20799.patch
>
>
> On trying to upgrade ambari from 2.4.2.0 to 2.5.1.0 upgrade is failing with 
> nullPointerException during ambari schema upgrade
> {code:None}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to