Modifier and Type | Method and Description |
---|---|
ConfigUpgradePack |
AmbariMetaInfo.getConfigUpgradePack(String stackName,
String stackVersion)
Get all upgrade config pack if it is available for a stack.
|
Modifier and Type | Method and Description |
---|---|
static ConfigUpgradePack |
UpgradeResourceProvider.ConfigurationPackBuilder.build(UpgradeContext cx)
Builds the configurations to use for the specified upgrade and source
stack.
|
Modifier and Type | Method and Description |
---|---|
ConfigUpgradePack |
StackDirectory.getConfigUpgradePack() |
Modifier and Type | Method and Description |
---|---|
static ConfigUpgradePack |
ConfigUpgradePack.merge(ArrayList<ConfigUpgradePack> cups)
Merges few config upgrade packs into one and returs result.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
ConfigureTask.getConfigurationChanges(Cluster cluster,
ConfigUpgradePack configUpgradePack)
Gets a map containing the following properties pertaining to the
configuration value to change:
ConfigureTask.PARAMETER_CONFIG_TYPE - the configuration type (ie hdfs-site)
ConfigureTask.PARAMETER_KEY_VALUE_PAIRS - key/value pairs for the
configurations
ConfigureTask.PARAMETER_KEY_VALUE_PAIRS - key/value pairs for the
configurations
ConfigureTask.PARAMETER_TRANSFERS - COPY/MOVE/DELETE changes
ConfigureTask.PARAMETER_REPLACEMENTS - value replacements
|
String |
ConfigureTask.getSummary(ConfigUpgradePack configUpgradePack)
Gets the summary of the task or
null . |
Modifier and Type | Method and Description |
---|---|
static ConfigUpgradePack |
ConfigUpgradePack.merge(ArrayList<ConfigUpgradePack> cups)
Merges few config upgrade packs into one and returs result.
|
Modifier and Type | Method and Description |
---|---|
ConfigUpgradePack |
StackInfo.getConfigUpgradePack()
Get config upgrade pack for stack
|
Modifier and Type | Method and Description |
---|---|
void |
StackInfo.setConfigUpgradePack(ConfigUpgradePack configUpgradePack)
Set config upgrade pack for stack
|
Copyright © 2022 Apache Software Foundation. All rights reserved.