Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F45A18604 for ; Mon, 23 Nov 2015 23:10:11 +0000 (UTC) Received: (qmail 65005 invoked by uid 500); 23 Nov 2015 23:10:11 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 64968 invoked by uid 500); 23 Nov 2015 23:10:11 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 64956 invoked by uid 99); 23 Nov 2015 23:10:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2015 23:10:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E50782C0453 for ; Mon, 23 Nov 2015 23:10:10 +0000 (UTC) Date: Mon, 23 Nov 2015 23:10:10 +0000 (UTC) From: "Hadoop QA (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14025) Deleting host from cluster does not work on bleprint deployed cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-14025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15023298#comment-15023298 ] Hadoop QA commented on AMBARI-14025: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12773900/AMBARI-14025.patch against trunk revision . {color:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/4373//console This message is automatically generated. > 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)