You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/04/03 18:30:52 UTC

[jira] [Commented] (AMBARI-23057) Upgrade fails because of Stale alert definitions.

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

Hudson commented on AMBARI-23057:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #470 (See [https://builds.apache.org/job/Ambari-branch-2.7/470/])
[AMBARI-23057] Upgrade fails because of Stale alert definitions (apappu) (swagle: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=ef51fd9e8ec8f7bb90687ff7abb04d233504e191])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelper.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelperTest.java


> Upgrade fails because of Stale alert definitions.
> -------------------------------------------------
>
>                 Key: AMBARI-23057
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23057
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-upgrade
>    Affects Versions: 2.6.0
>            Reporter: amarnath reddy pappu
>            Assignee: amarnath reddy pappu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 4.5h
>  Remaining Estimate: 0h
>
> Upgrade fails with below exception
> {noformat}
> 06 Nov 2017 04:31:26,826 ERROR [main] SchemaUpgradeHelper:437 - Exception occurred during upgrade, failed
> org.apache.ambari.server.AmbariException: Service not found, clusterName=testcluster, serviceName=GANGLIA
> 	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:234)
> 	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:424)
> Caused by: org.apache.ambari.server.ServiceNotFoundException: Service not found, clusterName=testcluster, serviceName=GANGLIA
> 	at org.apache.ambari.server.state.cluster.ClusterImpl.getService(ClusterImpl.java:864)
> 	at org.apache.ambari.server.api.services.AmbariMetaInfo.reconcileAlertDefinitions(AmbariMetaInfo.java:1240)
> 	at org.apache.ambari.server.upgrade.UpdateAlertScriptPaths.executeDMLUpdates(UpdateAlertScriptPaths.java:46)
> 	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:938)
> 	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:231)
> {noformat}
> few users are reporting this problem -reporting these stale alert definitions in DBConsistency check would avoid upgrade failures.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)