[
https://issues.apache.org/jira/browse/AMBARI-18685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nate Cole updated AMBARI-18685:
-------------------------------
Description:
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": ["c6401.ambari.apache.org", "c6402.ambari.apache.org",
"c6403.ambari.apache.org"] <------ new
}
{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
was:Use the API to set the desired version for a service. This API is at the
service layer, but the value will be used to set the component table only.
> 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": ["c6401.ambari.apache.org", "c6402.ambari.apache.org",
> "c6403.ambari.apache.org"] <------ new
> }
> {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)