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

Jonathan Hurley updated AMBARI-18685:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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
>
>         Attachments: AMBARI-18685.patch
>
>
> 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)

Reply via email to