ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-14025) Deleting host from cluster does not work on bleprint deployed cluster
Date Mon, 23 Nov 2015 21:12:11 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-14025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Siddharth Wagle updated AMBARI-14025:
-------------------------------------
    Attachment: AMBARI-14025.patch

Patch includes fix for AMBARI-13934.

> 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.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