apiRollingUpgradeServicesArgs

Arguments used for Rolling Upgrade command.

JSON

property type description
upgradeFromCdhVersion upgradeFromCdhVersion (string) Current CDH Version of the services. Example versions are: "5.1.0", "5.2.2" or "5.4.0"
upgradeToCdhVersion 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 slaveBatchSize (int) Number of hosts with slave roles to upgrade at a time. Must be greater than zero. Default is 1.
sleepSeconds sleepSeconds (int) Number of seconds to sleep between restarts of slave host batches. Must be greater than or equal to 0. Default is 0.
slaveFailCountThreshold slaveFailCountThreshold (int) 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 upgradeServiceNames (string) List of services to upgrade. Only the services that support rolling upgrade should be included.