ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14025) Deleting host from cluster does not work on bleprint deployed cluster
Date Tue, 24 Nov 2015 07:49:10 GMT

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

Hudson commented on AMBARI-14025:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.1 #926 (See [https://builds.apache.org/job/Ambari-branch-2.1/926/])
AMBARI-14025. Deleting host from cluster does not work on blueprint (swagle: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=21333ef0f57417d0ca1b8dc0a0c66f873ba47bd9])
* ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java


> Deleting host from cluster does not work on bleprint deployed cluster
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-14025
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14025
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.2
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>            Priority: Critical
>             Fix For: 2.1.2
>
>         Attachments: AMBARI-14025-1.patch
>
>
> _STR:_
> 1. Decommission node managers
> 2. Decommission data nodes
> 3. Stop all components on the host being removed
> 4. Delete all components on the host being removed
> 5. Delete the host from the cluster
> The last step fails with Internal Server Error.
> {code}
> Caused by: javax.persistence.RollbackException: Exception [EclipseLink-4002] (Eclipse
Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
> Internal Exception: java.sql.BatchUpdateException: The DELETE statement conflicted with
the REFERENCE constraint "FK_ltask_hrc_id". The conflict occurred in database "v328ade4c5c99344203aca00abaed19feb5AmbariDb",
table "dbo.topology_logical_task", column 'physical_task_id'.
> Error Code: 547
>         at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:157)
>         at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:91)
>         at org.apache.ambari.server.state.cluster.ClustersImpl.deleteHostEntityRelationships(ClustersImpl.java:840)
>         ... 94 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message