ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez (JIRA)" <>
Subject [jira] [Created] (AMBARI-8147) Rolling Upgrade - Bootstrap cluster to support RUs
Date Tue, 04 Nov 2014 22:48:34 GMT
Alejandro Fernandez created AMBARI-8147:

             Summary: Rolling Upgrade - Bootstrap cluster to support RUs
                 Key: AMBARI-8147
             Project: Ambari
          Issue Type: Story
          Components: ambari-server
    Affects Versions: 2.0.0
            Reporter: Alejandro Fernandez
            Assignee: Alejandro Fernandez
             Fix For: 2.0.0

1. Create new tables and populate during the installation of a new cluster.
*clusterversion* table
|stack|VARCHAR(255)| |HDP-2.2 |
|version|VARCHAR(255)| |HDP-2-2.0.1-885 |
|start_time|DATETIME| |2014-10-31 14:00:00|
|end_time|DATETIME| |2014-10-31 15:00:00|
|user_name|VARCHAR(32)| |admin|

*hostcomponentstate* table
Add column upgrade_state VARCHAR(32) ("NONE" is the default, "UPGRADING", "UPGRADE_FAILED")

*hostversion* table
|stack|VARCHAR(255)| |HDP-2.2|
|version|VARCHAR(255)| ||

2. Whenever adding a host or service, update the tables above.
Adding a host already populates the *hostcomponentstate* table, so the upgrade_state column
needs to have a default value.
Adding a host needs to look up the currently installed stack, and add a record for the host
in the *hostversion* table.

3. The upgrade from Ambari 1.7.0 to Ambari 2.0.0 should create these tables, and bootstrap
them with data.

This message was sent by Atlassian JIRA

View raw message