[
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)