ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20055) Add Upgrade Logic For Removal of clusterconfigmapping
Date Mon, 20 Feb 2017 18:59:44 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-20055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Hurley updated AMBARI-20055:
-------------------------------------
    Description: 
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.

  was:
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}}
-- A constraint preventing the same type to have more than 1 selected rows

- Finding all {{selected}} mappings in {{clusterconfigmapping}} and marked their associated
entry in {{clusterconfig}} as {{selected}}

- Removal of the {{clusterconfigmapping}} table.


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

Mime
View raw message