[
https://issues.apache.org/jira/browse/AMBARI-20055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hurley updated AMBARI-20055:
-------------------------------------
Attachment: AMBARI-20055.patch
> Add Upgrade Logic For Removal of clusterconfigmapping
> -----------------------------------------------------
>
> Key: AMBARI-20055
> URL: https://issues.apache.org/jira/browse/AMBARI-20055
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: trunk
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Critical
> Fix For: trunk
>
> Attachments: AMBARI-20055.patch
>
>
> The Ambari upgrade scripts should now perform the following operations:
> - Adding the following columns / constraints to the {{clusterconfig}} table:
> -- {{selected SMALLINT NOT NULL DEFAULT 0}} - whether or not the
> configuration is currently selected
> -- {{selected_timestamp BIGINT NOT NULL DEFAULT 0}} - the last time that the
> configuration was marked as {{selected}}
> - Finding all {{selected}} mappings in {{clusterconfigmapping}} and marked
> their associated entry in {{clusterconfig}} as {{selected}}
> - Removal of the {{clusterconfigmapping}} table.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)