public class ApiRollingUpgradeServicesArgs extends Object
Constructor and Description |
---|
ApiRollingUpgradeServicesArgs() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getSlaveBatchSize()
Number of hosts with slave roles to upgrade at a time.
|
Integer |
getSlaveFailCountThreshold()
The threshold for number of slave host batches that are allowed to fail
to restart before the entire command is considered failed.
|
Integer |
getSleepSeconds()
Number of seconds to sleep between restarts of slave host batches.
|
String |
getUpgradeFromCdhVersion()
Current CDH Version of the services.
|
List<String> |
getUpgradeServiceNames()
List of services to upgrade.
|
String |
getUpgradeToCdhVersion()
Target CDH Version for the services.
|
int |
hashCode() |
void |
setSlaveBatchSize(Integer slaveBatchSize) |
void |
setSlaveFailCountThreshold(Integer slaveFailCountThreshold) |
void |
setSleepSeconds(Integer sleepSeconds) |
void |
setUpgradeFromCdhVersion(String upgradeFromCdhVersion) |
void |
setUpgradeServiceNames(List<String> upgradeServiceNames) |
void |
setUpgradeToCdhVersion(String upgradeToCdhVersion) |
String |
toString() |
public String getUpgradeFromCdhVersion()
public void setUpgradeFromCdhVersion(String upgradeFromCdhVersion)
public String getUpgradeToCdhVersion()
public void setUpgradeToCdhVersion(String upgradeToCdhVersion)
public Integer getSlaveBatchSize()
public void setSlaveBatchSize(Integer slaveBatchSize)
public Integer getSleepSeconds()
public void setSleepSeconds(Integer sleepSeconds)
public Integer getSlaveFailCountThreshold()
This argument is for ADVANCED users only.
public void setSlaveFailCountThreshold(Integer slaveFailCountThreshold)
public List<String> getUpgradeServiceNames()
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.