Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C2073200BA6 for ; Tue, 13 Sep 2016 02:01:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C0AE7160AC8; Tue, 13 Sep 2016 00:01:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1BF8A160AD6 for ; Tue, 13 Sep 2016 02:01:48 +0200 (CEST) Received: (qmail 33505 invoked by uid 500); 13 Sep 2016 00:01:47 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 33259 invoked by uid 99); 13 Sep 2016 00:01:47 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 00:01:47 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 926FA2C1B80 for ; Tue, 13 Sep 2016 00:01:47 +0000 (UTC) Date: Tue, 13 Sep 2016 00:01:47 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-18255) Add unique constraint to host_version table MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Sep 2016 00:01:49 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15485702#comment-15485702 ] Hudson commented on AMBARI-18255: --------------------------------- ABORTED: Integrated in Jenkins build Ambari-branch-2.5 #19 (See [https://builds.apache.org/job/Ambari-branch-2.5/19/]) AMBARI-18255. Add unique constraint to host_version table (ncole) (ncole: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4e9ed5c0264b7283296fc7f66cb1b418e43977c5]) * (edit) ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql * (edit) ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql * (add) ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/orm/dao/HostVersionDAOTest.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostVersionEntity.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/upgrade/SchemaUpgradeHelper.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/HostVersionOutOfSyncListener.java * (edit) ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql * (edit) ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java * (add) ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java * (edit) ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql * (edit) ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql * (edit) ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql * (edit) ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql > Add unique constraint to host_version table > ------------------------------------------- > > Key: AMBARI-18255 > URL: https://issues.apache.org/jira/browse/AMBARI-18255 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Reporter: Nate Cole > Assignee: Nate Cole > Priority: Critical > Fix For: trunk > > Attachments: AMBARI-18255.patch > > > The software is allowing duplicate records into the {{host_version}} table. This should be constrained in the db. -- This message was sent by Atlassian JIRA (v6.3.4#6332)