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 7EED017DF6 for ; Wed, 25 Mar 2015 09:33:59 +0000 (UTC) Received: (qmail 34954 invoked by uid 500); 25 Mar 2015 09:33:53 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 34916 invoked by uid 500); 25 Mar 2015 09:33:53 -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 34904 invoked by uid 99); 25 Mar 2015 09:33:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2015 09:33:53 +0000 Date: Wed, 25 Mar 2015 09:33:53 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-10190) Full Delete of Host : Add host_id column to clusterhostmapping, and create initial UpgradeCatalog210 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-10190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14379557#comment-14379557 ] Hudson commented on AMBARI-10190: --------------------------------- ABORTED: Integrated in Ambari-trunk-Commit #2107 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2107/]) AMBARI-10190. Full Delete of Host : Add host_id column to clusterhostmapping, and create initial UpgradeCatalog210 (alejandro) (afernandez: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f73936a281896b82e89a64399f712d0e17142637) * ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertReceivedListenerTest.java * ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertReceivedListener.java * ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java * ambari-server/src/main/java/org/apache/ambari/server/upgrade/SchemaUpgradeHelper.java * ambari-server/src/main/java/org/apache/ambari/server/state/Alert.java * ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostDAO.java * ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql * ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql * ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql * ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java * ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql * ambari-server/src/main/java/org/apache/ambari/server/api/query/JpaPredicateVisitor.java * ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql * ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionDBAccessorImpl.java * ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostEntity.java * ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog210Test.java * ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java > Full Delete of Host : Add host_id column to clusterhostmapping, and create initial UpgradeCatalog210 > ---------------------------------------------------------------------------------------------------- > > Key: AMBARI-10190 > URL: https://issues.apache.org/jira/browse/AMBARI-10190 > Project: Ambari > Issue Type: Technical task > Components: ambari-server > Reporter: Alejandro Fernandez > Assignee: Alejandro Fernandez > Fix For: 2.1.0 > > Attachments: AMBARI-10190.patch > > > * Add the column id to the hosts table, and populate it with auto-increment values > * Temporarily remove and recreate all FKs to the host_name column, in order to change the PK of the hosts table from the host_name to the id column > * Add the column host_id to the clusterhostmapping table and populate it > * Drop the host_name column from the clusterhostmapping table > * Create the initial UpgradeCatalog210.java file and unit test -- This message was sent by Atlassian JIRA (v6.3.4#6332)