# ApiRollingUpgradeServicesArgs Data Model

Arguments used for Rolling Upgrade command.

Properties
name | data type | description
--- | --- | ---
upgradeFromCdhVersion | string | Current CDH Version of the services. Example versions are: "5.1.0", "5.2.2" or "5.4.0"
upgradeToCdhVersion | string | Target CDH Version for the services. The CDH version should already be present and activated on the nodes. Example versions are: "5.1.0", "5.2.2" or "5.4.0"
slaveBatchSize | number | Number of hosts with slave roles to upgrade at a time. Must be greater than zero. Default is 1.
sleepSeconds | number | Number of seconds to sleep between restarts of slave host batches. Must be greater than or equal to 0. Default is 0.
slaveFailCountThreshold | number | The threshold for number of slave host batches that are allowed to fail to restart before the entire command is considered failed. Must be greater than or equal to 0. Default is 0. This argument is for ADVANCED users only.
upgradeServiceNames | array of string | List of services to upgrade. Only the services that support rolling upgrade should be included.

Example

    {
      "upgradeFromCdhVersion" : "...",
      "upgradeToCdhVersion" : "...",
      "slaveBatchSize" : 12345,
      "sleepSeconds" : 12345,
      "slaveFailCountThreshold" : 12345,
      "upgradeServiceNames" : [ "...", "..." ]
    }