public class AutoSkipFailedSummaryAction extends AbstractUpgradeServerAction
AutoSkipFailedSummaryAction is used to check if any
HostRoleCommands were skipped automatically after they failed during
an upgrade. This will be automatically marked as
HostRoleStatus.COMPLETED if there are no skipped failures. Otherwise
it will be placed into HostRoleStatus.HOLDING.agentConfigsHolder, m_amc, m_clusters, m_configHelper, m_metainfoProvider, m_upgradeDAO, m_upgradeHelperactionLog, gsonACTION_NAME, ACTION_USER_NAME, DEFAULT_LONG_RUNNING_TASK_TIMEOUT_SECONDS, WRAPPED_CLASS_NAME| Constructor and Description |
|---|
AutoSkipFailedSummaryAction() |
| Modifier and Type | Method and Description |
|---|---|
CommandReport |
execute(ConcurrentMap<String,Object> requestSharedDataContext)
Executes this ServerAction
This is typically called by the ServerActionExecutor in it's own thread, but there is no
guarantee that this is the case.
|
getClusters, getGson, getUpgradeContextauditLog, createCommandReport, createCompletedCommandReport, getCommandParameters, getCommandParameterValue, getExecutionCommand, getHostRoleCommand, setExecutionCommand, setHostRoleCommandpublic CommandReport execute(ConcurrentMap<String,Object> requestSharedDataContext) throws org.apache.ambari.server.AmbariException, InterruptedException
requestSharedDataContext - a Map to be used a shared data among all ServerActions related
to a given requestorg.apache.ambari.server.AmbariExceptionInterruptedExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.