public class ComponentVersionCheckAction extends FinalizeUpgradeAction
FinalizeUpgradeAction will
complete successfully.FinalizeUpgradeAction.InfoTuplePREVIOUS_UPGRADE_NOT_COMPLETED_MSGagentConfigsHolder, 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 |
|---|
ComponentVersionCheckAction() |
| 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.
|
validateComponentVersionsgetClusters, getGson, getUpgradeContextauditLog, createCommandReport, createCompletedCommandReport, getCommandParameters, getCommandParameterValue, getExecutionCommand, getHostRoleCommand, setExecutionCommand, setHostRoleCommandpublic CommandReport execute(ConcurrentMap<String,Object> requestSharedDataContext) throws org.apache.ambari.server.AmbariException, InterruptedException
ServerActionexecute in interface ServerActionexecute in class FinalizeUpgradeActionrequestSharedDataContext - 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.