You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2015/03/17 19:50:38 UTC

[jira] [Commented] (AMBARI-8147) Rolling Upgrade - Bootstrap cluster to support RUs

    [ https://issues.apache.org/jira/browse/AMBARI-8147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14365764#comment-14365764 ] 

Jayush Luniya commented on AMBARI-8147:
---------------------------------------

[~afernandez]
Is AMBARI-8150 going to be part of 2.0.0? If so can you provide ETA for resolving AMBARI-8150 and AMBARI-8147. Else can we update the JIRAs to 2.1.0?

> Rolling Upgrade - Bootstrap cluster to support RUs
> --------------------------------------------------
>
>                 Key: AMBARI-8147
>                 URL: https://issues.apache.org/jira/browse/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.
> *cluster_version* table
> ||Column||Type||Keys||Example||
> |id|BIGINT|PK|1|
> |cluster_id|BIGINT|FK|2|
> |stack|VARCHAR(255)| |HDP-2.2 |
> |version|VARCHAR(255)| |HDP-2-2.0.1-885 |
> |state| VARCHAR(32) | |INSTALLED, CURRENT, UPGRADING, UPGRADE_FAILED |
> |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")
> *host_version* table
> ||Column||Type||Keys||Example||
> |id|BIGINT|PK|1|
> |host_name|VARCHAR(255)|FK hosts.name|c6401.ambari.apache.org|
> |stack|VARCHAR(255)| |HDP-2.2|
> |version|VARCHAR(255)| |2.2.0.1-885|
> |state|VARCHAR(32)| |INSTALLED, CURRENT, NOT_INSTALLED|
> 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
(v6.3.4#6332)