Package | Description |
---|---|
org.apache.ambari.server.stack.upgrade | |
org.apache.ambari.server.stack.upgrade.orchestrate |
Modifier and Type | Class and Description |
---|---|
class |
AddComponentTask
The
AddComponentTask is used for adding components during an upgrade. |
class |
ConfigureFunction
Used to represent Configuring of a component.
|
class |
ConfigureTask
The
ConfigureTask represents a configuration change. |
class |
CreateAndConfigureTask
The
CreateAndConfigureTask represents a two step change where the create is for creating a config type if it does not exist
followed by the configuration change. |
class |
ExecuteTask
Used to represent an execution that should occur on an agent.
|
class |
ManualTask
Identifies that an upgrade step that requires confirmation before continuing.
|
class |
RegenerateKeytabsTask
The
RegenerateKeytabsTask is used for injection Kerberos tasks into
an upgrade which will regenerate keytabs. |
class |
RestartTask
Used to represent a restart of a component.
|
class |
ServerActionTask
Identifies that an upgrade step that requires confirmation before continuing.
|
class |
ServerSideActionTask |
class |
ServiceCheckTask
Used to represent a restart of a component.
|
class |
StartTask
Used to represent a start of a component.
|
class |
StopTask
Used to represent a stop of a component.
|
Modifier and Type | Field and Description |
---|---|
Task |
ExecuteStage.task |
Modifier and Type | Field and Description |
---|---|
List<Task> |
UpgradePack.ProcessingComponent.postDowngradeTasks |
List<Task> |
UpgradePack.ProcessingComponent.postTasks |
List<Task> |
UpgradePack.ProcessingComponent.preDowngradeTasks |
List<Task> |
UpgradePack.ProcessingComponent.preTasks |
List<Task> |
UpgradePack.ProcessingComponent.tasks |
Modifier and Type | Method and Description |
---|---|
boolean |
UpgradePack.anyGroupTaskMatch(Predicate<Task> taskPredicate) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
List<Task> |
TaskWrapper.getTasks() |
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
|
Modifier and Type | Method and Description |
---|---|
static List<TaskWrapper> |
TaskWrapperBuilder.getTaskList(String service,
String component,
HostsType hostsType,
List<Task> tasks,
Map<String,String> params)
Creates a collection of task wrappers based on the set of hosts they are allowed to run on
by analyzing the "hosts" attribute of any ExecuteTask objects.
|
Constructor and Description |
---|
TaskWrapper(String s,
String c,
Set<String> hosts,
Map<String,String> params,
Task... tasks) |
TaskWrapper(String s,
String c,
Set<String> hosts,
Task task) |
Constructor and Description |
---|
TaskWrapper(String s,
String c,
Set<String> hosts,
Map<String,String> params,
List<Task> tasks) |
Copyright © 2022 Apache Software Foundation. All rights reserved.