public class HostMaintenanceModeCheck extends ClusterCheck
HostMaintenanceModeCheck is used to provide a warning if any
hosts are in maintenance mode. Hosts in MM will be exluded from the upgrade.
This check will return UpgradeCheckStatus.WARNING for any hosts in
maintenance mode.HostsHeartbeatCheck| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_CANNOT_START_HOST_ORDERED |
clustersProvider| Constructor and Description |
|---|
HostMaintenanceModeCheck()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.ambari.spi.upgrade.UpgradeCheckResult |
perform(org.apache.ambari.spi.upgrade.UpgradeCheckRequest request) |
formatEntityList, getApplicableServices, getCheckDescription, getDescription, getFailReason, getFailReason, getProperty, getQualificationspublic static final String KEY_CANNOT_START_HOST_ORDERED
Copyright © 2022 Apache Software Foundation. All rights reserved.