ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-22419) Ambari upgrade failed
Date Fri, 05 Jan 2018 07:47:00 GMT

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

Hadoop QA commented on AMBARI-22419:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12904731/AMBARI-22419.trunk.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/12924//console

This message is automatically generated.

> Ambari upgrade failed
> ---------------------
>
>                 Key: AMBARI-22419
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22419
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-sever
>    Affects Versions: 2.6.0
>            Reporter: amarnath reddy pappu
>            Assignee: Dmytro Grinenko
>             Fix For: 2.6.2
>
>         Attachments: AMBARI-22419.branch-2.6.patch, AMBARI-22419.trunk.patch
>
>
> Ambari upgrade would fail during the DMLStatements execution if there is no service definition
in the stacks.
> For example: Customer database has entry for GANGLIA in alert_definition table but there
is no stack definition - hence its getting failed with below exception.
> {noformat}
> org.apache.ambari.server.AmbariException: Service not found, clusterName=comcastdrcluster,
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=comcastdrcluster,
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)

> ... 1 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message