ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Hurley <>
Subject Review Request 43727: Patch Upgrade UpgradeCatalog Changes
Date Thu, 18 Feb 2016 18:28:25 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Ambari, Dmitro Lisnichenko and Nate Cole.

Bugs: AMBARI-15094

Repository: ambari


This JIRA will be used to keep track of the changes required for the UpgradeCatalog that will
be used for PU.

+Changed tables+
* Add {{type}} column, default 'STANDARD'
* Add {{version_url}} varchar(1024)
* Add {{version_xml}} mediumtext/text
* Add {{version_xsd}} varchar(512)
* Add {{parent_id}} bigint, nullable

* Add PK {{id}} column
* Remove existing PK, create {{UNIQUE}} constraint out of same columns
* Create {{INDEX}} on old PK columns

* Reorder {{hstcmpnntdesiredstatecmpnntnme}} {{FOREIGN KEY}}
** {{(component_name, service_name, cluster_id)}}

* Reorder {{hstcomponentstatecomponentname}} {{FOREIGN KEY}}
** {{(component_name, service_name, cluster_id)}}

* Creation of new table
* Addition of new sequence to track PK ID


  ambari-server/src/main/java/org/apache/ambari/server/orm/ 49f108b 
  ambari-server/src/main/java/org/apache/ambari/server/orm/ abd05bc 
  ambari-server/src/main/java/org/apache/ambari/server/upgrade/ d97962f

  ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql 8c626f5 



Upgraded a trunk database to a branch-dev-patch-upgrade database on MySQL and Postgres.

Unit tests pending...


Jonathan Hurley

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message