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 3E90817B1A for ; Tue, 24 Mar 2015 22:56:54 +0000 (UTC) Received: (qmail 40223 invoked by uid 500); 24 Mar 2015 22:56:53 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 40147 invoked by uid 500); 24 Mar 2015 22:56: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 39879 invoked by uid 99); 24 Mar 2015 22:56:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2015 22:56:53 +0000 Date: Tue, 24 Mar 2015 22:56:53 +0000 (UTC) From: "Alejandro Fernandez (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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:all-tabpanel ] Alejandro Fernandez updated AMBARI-10190: ----------------------------------------- Attachment: (was: AMBARI-10190.patch) > 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 > > > * 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)