Package | Description |
---|---|
org.apache.ambari.server.stack.upgrade | |
org.apache.ambari.server.stack.upgrade.orchestrate |
Modifier and Type | Field and Description |
---|---|
List<UpgradePack.ProcessingComponent> |
UpgradePack.ProcessingService.components |
Modifier and Type | Method and Description |
---|---|
Map<String,Map<String,UpgradePack.ProcessingComponent>> |
UpgradePack.getTasks()
Gets the tasks by which services and components should be upgraded.
|
Modifier and Type | Method and Description |
---|---|
void |
ClusterGrouping.ClusterBuilder.add(UpgradeContext ctx,
HostsType hostsType,
String service,
boolean clientOnly,
UpgradePack.ProcessingComponent pc,
Map<String,String> params) |
void |
ServiceCheckGrouping.ServiceCheckBuilder.add(UpgradeContext ctx,
HostsType hostsType,
String service,
boolean clientOnly,
UpgradePack.ProcessingComponent pc,
Map<String,String> params)
Adds a processing component that will be built into stage wrappers.
|
Modifier and Type | Method and Description |
---|---|
void |
ParallelClientGroupingBuilder.add(UpgradeContext upgradeContext,
HostsType hostsType,
String service,
boolean clientOnly,
UpgradePack.ProcessingComponent pc,
Map<String,String> params) |
abstract void |
StageWrapperBuilder.add(UpgradeContext upgradeContext,
HostsType hostsType,
String service,
boolean clientOnly,
UpgradePack.ProcessingComponent pc,
Map<String,String> params)
Adds a processing component that will be built into stage wrappers.
|
protected Task |
StageWrapperBuilder.resolveTask(UpgradeContext context,
UpgradePack.ProcessingComponent pc)
The upgrade packs are written such that there is one and only one upgrade element
for a component, all other directives go in (pre|post)-(upgrade|downgrade) elements.
|
protected List<Task> |
StageWrapperBuilder.resolveTasks(UpgradeContext context,
boolean preTasks,
UpgradePack.ProcessingComponent pc)
Determine the list of pre- or post-tasks given these rules
When performing an upgrade, only use upgrade tasks
When performing a downgrade, use the downgrade tasks if they are defined
When performing a downgrade, but no downgrade tasks exist, reuse the upgrade tasks
|
Copyright © 2022 Apache Software Foundation. All rights reserved.