Modifier and Type | Method and Description |
---|---|
Map<String,UpgradePack> |
AmbariMetaInfo.getUpgradePacks(String stackName,
String stackVersion)
Get all upgrade packs available for a stack.
|
Modifier and Type | Method and Description |
---|---|
List<org.apache.ambari.spi.upgrade.UpgradeCheck> |
UpgradeCheckRegistry.getFilteredUpgradeChecks(UpgradePack upgradePack)
Gets the ordered upgrade checks which should execute for the specified
upgrade pack.
|
Modifier and Type | Method and Description |
---|---|
Map<String,UpgradePack> |
StackDirectory.getUpgradePacks()
Obtain a map of all upgrade packs.
|
Modifier and Type | Method and Description |
---|---|
void |
UpgradePack.mergePrerequisiteChecks(UpgradePack pack)
Merges the prerequisite checks section of the upgrade xml with
the prerequisite checks from a service's upgrade xml.
|
void |
UpgradePack.mergeProcessing(UpgradePack pack)
Merges the processing section of the upgrade xml with
the processing section from a service's upgrade xml.
|
Modifier and Type | Method and Description |
---|---|
UpgradePack |
UpgradeContext.getUpgradePack()
Gets the upgrade pack for this upgrade.
|
UpgradePack |
UpgradeHelper.suggestUpgradePack(String clusterName,
StackId sourceStackId,
StackId targetStackId,
Direction direction,
org.apache.ambari.spi.upgrade.UpgradeType upgradeType,
String preferredUpgradePackName)
Get right Upgrade Pack, depends on stack, direction and upgrade type
information
|
Modifier and Type | Method and Description |
---|---|
List<UpgradeGroupHolder> |
UpgradeHelper.createSequence(UpgradePack upgradePack,
UpgradeContext context)
Generates a list of UpgradeGroupHolder items that are used to execute either
an upgrade or a downgrade.
|
Modifier and Type | Method and Description |
---|---|
Map<String,UpgradePack> |
StackInfo.getUpgradePacks()
Obtain all stack upgrade packs.
|
Modifier and Type | Method and Description |
---|---|
void |
StackInfo.setUpgradePacks(Map<String,UpgradePack> upgradePacks)
Set upgrade packs.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.