Package | Description |
---|---|
org.apache.ambari.server.controller | |
org.apache.ambari.server.state | |
org.apache.ambari.server.state.cluster | |
org.apache.ambari.server.state.svccomphost |
Modifier and Type | Method and Description |
---|---|
MaintenanceState |
AmbariManagementControllerImpl.getEffectiveMaintenanceState(ServiceComponentHost sch) |
MaintenanceState |
AmbariManagementController.getEffectiveMaintenanceState(ServiceComponentHost sch)
Gets the effective maintenance state for a host component
|
MaintenanceState |
MaintenanceStateHelper.getEffectiveState(ServiceComponentHost sch)
Gets the effective state for a HostComponent
|
MaintenanceState |
MaintenanceStateHelper.getEffectiveState(ServiceComponentHost sch,
Host host)
Get effective state of HostComponent
|
boolean |
MaintenanceStateHelper.isOperationAllowed(Resource.Type sourceType,
ServiceComponentHost sch)
Determine based on the requesting Resource level and the state of the
operand whether to allow operations on it.
|
Modifier and Type | Method and Description |
---|---|
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) |
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) |
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)
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)
Add stages to the request.
|
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
ServiceComponentHost |
ServiceComponent.addServiceComponentHost(String hostName) |
ServiceComponentHost |
ServiceComponentImpl.addServiceComponentHost(String hostName) |
ServiceComponentHost |
ServiceComponentHostFactory.createExisting(ServiceComponent serviceComponent,
HostComponentStateEntity stateEntity,
HostComponentDesiredStateEntity desiredStateEntity) |
ServiceComponentHost |
ServiceComponentHostFactory.createNew(ServiceComponent serviceComponent,
String hostName) |
ServiceComponentHost |
ServiceComponent.getServiceComponentHost(String hostname) |
ServiceComponentHost |
ServiceComponentImpl.getServiceComponentHost(String hostname) |
Modifier and Type | Method and Description |
---|---|
Map<String,ServiceComponentHost> |
ServiceComponent.getServiceComponentHosts() |
Map<String,ServiceComponentHost> |
ServiceComponentImpl.getServiceComponentHosts() |
List<ServiceComponentHost> |
Cluster.getServiceComponentHosts(String hostname)
Get all ServiceComponentHosts on a given host
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceComponent.addServiceComponentHost(ServiceComponentHost hostComponent) |
void |
ServiceComponentImpl.addServiceComponentHost(ServiceComponentHost hostComponent) |
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.
|
boolean |
ConfigHelper.isStaleConfigs(ServiceComponentHost sch)
The purpose of this method is to determine if a
ServiceComponentHost 's
known actual configs are different than what is set on the cluster (the desired). |
void |
Cluster.removeServiceComponentHost(ServiceComponentHost svcCompHost)
Remove ServiceComponentHost from cluster
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceComponent.addServiceComponentHosts(Map<String,ServiceComponentHost> hostComponents) |
void |
ServiceComponentImpl.addServiceComponentHosts(Map<String,ServiceComponentHost> hostComponents) |
Modifier and Type | Method and Description |
---|---|
ServiceComponentHost |
ClusterImpl.getServiceComponentHost(String serviceName,
String serviceComponentName,
String hostname) |
Modifier and Type | Method and Description |
---|---|
List<ServiceComponentHost> |
ClusterImpl.getServiceComponentHosts(String hostname) |
Modifier and Type | Method and Description |
---|---|
void |
ClusterImpl.addServiceComponentHost(ServiceComponentHost svcCompHost) |
void |
ClusterImpl.removeServiceComponentHost(ServiceComponentHost svcCompHost) |
Modifier and Type | Class and Description |
---|---|
class |
ServiceComponentHostImpl |
Copyright © 2016. All rights reserved.