ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Cole (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18685) Add validations and attributes to support HOST_ORDERED upgrades
Date Wed, 26 Oct 2016 14:27:58 GMT

     [ 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": [            <------ 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





  was:
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






> 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)

Mime
View raw message