Modifier and Type | Method and Description |
---|---|
State |
RecoveryConfigComponent.getDesiredState() |
State |
StatusCommand.getDesiredState() |
Modifier and Type | Method and Description |
---|---|
void |
RecoveryConfigComponent.setDesiredState(State state) |
void |
StatusCommand.setDesiredState(State desiredState) |
Constructor and Description |
---|
RecoveryConfigComponent(String componentName,
String serviceName,
State desiredState)
Creates new instance of
RecoveryConfigComponent |
Modifier and Type | Method and Description |
---|---|
State |
TopologyComponent.getLastComponentState() |
Modifier and Type | Method and Description |
---|---|
void |
TopologyComponent.setLastComponentState(State lastComponentState) |
TopologyComponent.Builder |
TopologyComponent.Builder.setLastComponentState(State lastComponentState) |
Modifier and Type | Method and Description |
---|---|
State |
ClusterResponse.getProvisioningState()
Gets whether the cluster is still initializing or has finished with its
deployment requests.
|
Modifier and Type | Method and Description |
---|---|
RequestStageContainer |
AmbariManagementController.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs)
Add stages to the request.
|
RequestStageContainer |
AmbariManagementController.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs)
Add stages to the request.
|
RequestStageContainer |
AmbariManagementController.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs)
Add stages to the request.
|
RequestStageContainer |
AmbariManagementControllerImpl.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs) |
RequestStageContainer |
AmbariManagementControllerImpl.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs) |
RequestStageContainer |
AmbariManagementControllerImpl.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs) |
RequestStageContainer |
AmbariManagementController.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs,
boolean useClusterHostInfo)
Add stages to the request.
|
RequestStageContainer |
AmbariManagementController.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs,
boolean useClusterHostInfo)
Add stages to the request.
|
RequestStageContainer |
AmbariManagementController.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs,
boolean useClusterHostInfo)
Add stages to the request.
|
RequestStageContainer |
AmbariManagementControllerImpl.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs,
boolean useClusterHostInfo) |
RequestStageContainer |
AmbariManagementControllerImpl.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs,
boolean useClusterHostInfo) |
RequestStageContainer |
AmbariManagementControllerImpl.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useGeneratedConfigs,
boolean useClusterHostInfo) |
RequestStatusResponse |
AmbariManagementController.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients)
Create and persist the request stages and return a response containing the
associated request and resulting tasks.
|
RequestStatusResponse |
AmbariManagementController.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients)
Create and persist the request stages and return a response containing the
associated request and resulting tasks.
|
RequestStatusResponse |
AmbariManagementController.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients)
Create and persist the request stages and return a response containing the
associated request and resulting tasks.
|
RequestStatusResponse |
AmbariManagementControllerImpl.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients) |
RequestStatusResponse |
AmbariManagementControllerImpl.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients) |
RequestStatusResponse |
AmbariManagementControllerImpl.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients) |
protected RequestStageContainer |
AmbariManagementControllerImpl.doStageCreation(RequestStageContainer requestStages,
Cluster cluster,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComps,
Map<String,Map<State,List<ServiceComponentHost>>> changedScHosts,
Map<String,String> requestParameters,
Map<String,String> requestProperties,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useLatestConfigs,
boolean useClusterHostInfo) |
protected RequestStageContainer |
AmbariManagementControllerImpl.doStageCreation(RequestStageContainer requestStages,
Cluster cluster,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComps,
Map<String,Map<State,List<ServiceComponentHost>>> changedScHosts,
Map<String,String> requestParameters,
Map<String,String> requestProperties,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useLatestConfigs,
boolean useClusterHostInfo) |
protected RequestStageContainer |
AmbariManagementControllerImpl.doStageCreation(RequestStageContainer requestStages,
Cluster cluster,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComps,
Map<String,Map<State,List<ServiceComponentHost>>> changedScHosts,
Map<String,String> requestParameters,
Map<String,String> requestProperties,
boolean runSmokeTest,
boolean reconfigureClients,
boolean useLatestConfigs,
boolean useClusterHostInfo) |
Constructor and Description |
---|
ClusterResponse(long clusterId,
String clusterName,
State provisioningState,
SecurityType securityType,
Set<String> hostNames,
int totalHosts,
String desiredStackVersion,
ClusterHealthReport clusterHealthReport) |
Modifier and Type | Method and Description |
---|---|
State |
DeleteHostComponentStatusMetaData.HostComponent.getLastComponentState() |
State |
RequestStageContainer.getProjectedState(String host,
String component)
Determine the projected state for a host component from the existing stages.
|
Modifier and Type | Method and Description |
---|---|
void |
DeleteHostComponentStatusMetaData.addDeletedHostComponent(String componentName,
String serviceName,
String hostName,
Long hostId,
String clusterId,
String version,
State lastComponentState) |
boolean |
HostComponentResourceProvider.isDirectTransition(State oldState,
State newState)
Checks if assigning new state does not require performing
any additional actions
|
void |
DeleteHostComponentStatusMetaData.HostComponent.setLastComponentState(State lastComponentState) |
Constructor and Description |
---|
HostComponent(String componentName,
String serviceName,
Long hostId,
String hostName,
String clusterId,
String version,
State lastComponentState) |
Modifier and Type | Method and Description |
---|---|
protected State |
DefaultServiceCalculatedState.getHostComponentState(ServiceComponentHostResponse hostComponent) |
State |
ServiceCalculatedState.getState(String clusterName,
String serviceName) |
State |
HiveServiceCalculatedState.getState(String clusterName,
String serviceName) |
State |
DefaultServiceCalculatedState.getState(String clusterName,
String serviceName) |
State |
HDFSServiceCalculatedState.getState(String clusterName,
String serviceName) |
State |
HBaseServiceCalculatedState.getState(String clusterName,
String serviceName) |
State |
FlumeServiceCalculatedState.getState(String clusterName,
String serviceName) |
State |
YARNServiceCalculatedState.getState(String clusterName,
String serviceName) |
State |
OozieServiceCalculatedState.getState(String clusterName,
String serviceName) |
Modifier and Type | Method and Description |
---|---|
State |
HostComponentUpdate.getCurrentState() |
State |
HostComponentUpdate.getPreviousState() |
State |
ServiceUpdateEvent.getState() |
Modifier and Type | Method and Description |
---|---|
static HostComponentUpdate |
HostComponentUpdate.createHostComponentStatusUpdate(HostComponentStateEntity stateEntity,
State previousState) |
void |
HostComponentUpdate.setCurrentState(State currentState) |
void |
HostComponentUpdate.setPreviousState(State previousState) |
void |
ServiceUpdateEvent.setState(State state) |
Constructor and Description |
---|
ServiceUpdateEvent(String clusterName,
MaintenanceState maintenanceState,
String serviceName,
State state,
boolean stateChanged) |
Modifier and Type | Method and Description |
---|---|
State |
HostComponentStateEntity.getCurrentState() |
State |
ServiceComponentDesiredStateEntity.getDesiredState() |
State |
HostComponentDesiredStateEntity.getDesiredState() |
State |
ServiceDesiredStateEntity.getDesiredState() |
State |
ClusterEntity.getProvisioningState()
Gets whether the cluster is still initializing or has finished with its
deployment requests.
|
Modifier and Type | Method and Description |
---|---|
void |
HostComponentStateEntity.setCurrentState(State currentState) |
void |
ServiceComponentDesiredStateEntity.setDesiredState(State desiredState) |
void |
HostComponentDesiredStateEntity.setDesiredState(State desiredState) |
void |
ServiceDesiredStateEntity.setDesiredState(State desiredState) |
void |
ClusterEntity.setProvisioningState(State provisioningState)
Sets whether the cluster is still initializing or has finished with its
deployment requests.
|
Modifier and Type | Method and Description |
---|---|
State |
HostComponentSummary.getCurrentState() |
State |
HostComponentSummary.getDesiredState() |
Constructor and Description |
---|
HostComponentSummary(String serviceName,
String componentName,
Long hostId,
State desiredState,
State currentState) |
Modifier and Type | Method and Description |
---|---|
State |
Service.getDesiredState() |
State |
ServiceComponentImpl.getDesiredState() |
State |
ServiceComponent.getDesiredState() |
State |
ServiceImpl.getDesiredState() |
State |
ServiceComponentHost.getDesiredState() |
State |
Cluster.getProvisioningState()
Gets whether the cluster is still initializing or has finished with its
deployment requests.
|
State |
ServiceComponentHost.getState() |
static State |
State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static State[] |
State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
State.checkUpdateConfiguration(ServiceComponentHost serviceComponentHost,
State currentState,
State desiredState)
Determine whether or not it is safe to update the configuration of the given service
component host for the given states.
|
static boolean |
State.isValidDesiredStateTransition(State startState,
State desiredState)
Utility method to determine whether or not the given desired state is valid for the given starting state.
|
static boolean |
State.isValidStateTransition(State startState,
State desiredState)
Utility method to determine whether or not a valid transition can be made from the given states.
|
void |
Service.setDesiredState(State state) |
void |
ServiceComponentImpl.setDesiredState(State state) |
void |
ServiceComponent.setDesiredState(State state) |
void |
ServiceImpl.setDesiredState(State state) |
void |
ServiceComponentHost.setDesiredState(State state) |
void |
Cluster.setProvisioningState(State provisioningState)
Sets the provisioning state of the cluster.
|
void |
ServiceComponentHost.setState(State state) |
Modifier and Type | Method and Description |
---|---|
State |
ClusterImpl.getProvisioningState() |
Modifier and Type | Method and Description |
---|---|
void |
ClusterImpl.setProvisioningState(State provisioningState) |
Modifier and Type | Method and Description |
---|---|
State |
ServiceComponentHostImpl.getDesiredState() |
State |
ServiceComponentHostImpl.getState() |
Modifier and Type | Method and Description |
---|---|
void |
ServiceComponentHostImpl.setDesiredState(State state) |
void |
ServiceComponentHostImpl.setState(State state) |
Modifier and Type | Method and Description |
---|---|
abstract State |
ProvisionStep.getDesiredStateToSet() |
Modifier and Type | Method and Description |
---|---|
void |
ResourceProviderAdapter.updateServiceDesiredState(AddServiceInfo request,
State desiredState) |
Copyright © 2022 Apache Software Foundation. All rights reserved.