You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2016/11/02 19:26:59 UTC

[jira] [Updated] (AMBARI-18685) Add validations and attributes to support HOST_ORDERED upgrades

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

Jonathan Hurley updated AMBARI-18685:
-------------------------------------
    Status: Patch Available  (was: Open)

> Add validations and attributes to support HOST_ORDERED upgrades
> ---------------------------------------------------------------
>
>                 Key: AMBARI-18685
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18685
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>            Reporter: Nate Cole
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.5.0
>
>
> Augment the API of creating an Upgrade with the following:
> {noformat}
> POST api/v1/clusters/c1/upgrades
> {
>   "Upgrade": {
>     "repository_version": "2.5.0.0-965",
>     "upgrade_type": "HOST_ORDERED",     <---------- new value other than ROLLING/NON_ROLLING
>     "skip_failures": "false",
>     "skip_prerequisite_checks": "false",
>     "skip_manual_verification": "false",
>     "host_order": [            <------ new
>        {
>          "hosts": [ "c6401.ambari.apache.org, "c6402.ambari.apache.org", "c6403.ambari.apache.org" ],
>          "service_checks": ["ZOOKEEPER"]
>        },
>        {
>          "hosts": [ "c6404.ambari.apache.org, "c6405.ambari.apache.org"],
>          "service_checks": ["ZOOKEEPER", "KAFKA"]
>        }
>     ]
>   }
> }
> {noformat}
> {{skip_failures}} must be {{false}} when the upgrade_type is HOST_ORDERED
> {{skip_manual_verification}} must be omitted or {{false}} when upgrade_type is HOST_ORDERED



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)