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)
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) |
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) |
Map<String,Map<String,String>> |
AmbariManagementController.findConfigurationTagsWithOverrides(Cluster cluster,
String hostName)
Find configuration tags with applied overrides
|
Map<String,Map<String,String>> |
AmbariManagementControllerImpl.findConfigurationTagsWithOverrides(Cluster cluster,
String hostName) |
String |
AmbariManagementController.getJobTrackerHost(Cluster cluster)
Get JobTracker hostname
|
String |
AmbariManagementControllerImpl.getJobTrackerHost(Cluster cluster) |
Set<Map<String,String>> |
MaintenanceStateHelper.getMaintenanceHostComponents(Clusters clusters,
Cluster cluster) |
String |
AmbariCustomCommandExecutionHelper.getRepoInfo(Cluster cluster,
Host host)
Get repository info given a cluster and host.
|
Modifier and Type | Method and Description |
---|---|
void |
RoleCommandOrder.initialize(Cluster cluster) |
Modifier and Type | Method and Description |
---|---|
Cluster |
ServiceImpl.getCluster() |
Cluster |
Service.getCluster() |
Cluster |
Clusters.getCluster(String clusterName)
Gets the Cluster given the cluster name
|
Cluster |
Clusters.getClusterById(long id)
Gets the cluster using the id.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Cluster> |
Clusters.getClusters()
Get all clusters
|
Set<Cluster> |
Clusters.getClustersForHost(String hostname)
Returns all the cluster names for this hostname
|
Modifier and Type | Method and Description |
---|---|
Config |
ConfigFactory.createExisting(Cluster cluster,
ClusterConfigEntity entity) |
Service |
ServiceFactory.createExisting(Cluster cluster,
ClusterServiceEntity serviceEntity) |
Service |
ServiceFactory.createNew(Cluster cluster,
String serviceName) |
Config |
ConfigFactory.createNew(Cluster cluster,
String type,
Map<String,String> map) |
Map<String,HostConfig> |
Host.getDesiredHostConfigs(Cluster cluster)
Get the desired configurations for the host including overrides
|
Map<String,Map<String,String>> |
ConfigHelper.getEffectiveConfigProperties(Cluster cluster,
Map<String,Map<String,String>> desiredTags)
Get all config properties for a cluster given a set of configType to
versionTags map.
|
Map<String,Map<String,String>> |
ConfigHelper.getEffectiveDesiredTags(Cluster cluster,
String hostName)
Gets the desired tags for a cluster and host
|
Constructor and Description |
---|
ConfigImpl(Cluster cluster,
ClusterConfigEntity entity,
com.google.inject.Injector injector) |
ConfigImpl(Cluster cluster,
String type,
Map<String,String> properties,
com.google.inject.Injector injector) |
ServiceImpl(Cluster cluster,
ClusterServiceEntity serviceEntity,
com.google.inject.Injector injector) |
ServiceImpl(Cluster cluster,
String serviceName,
com.google.inject.Injector injector) |
Modifier and Type | Class and Description |
---|---|
class |
ClusterImpl |
Modifier and Type | Method and Description |
---|---|
Cluster |
ClusterFactory.create(ClusterEntity clusterEntity) |
Cluster |
ClustersImpl.getCluster(String clusterName) |
Cluster |
ClustersImpl.getClusterById(long id) |
Modifier and Type | Method and Description |
---|---|
Map<String,Cluster> |
ClustersImpl.getClusters() |
Set<Cluster> |
ClustersImpl.getClustersForHost(String hostname) |
Modifier and Type | Method and Description |
---|---|
ConfigGroup |
ConfigGroupFactory.createExisting(Cluster cluster,
ConfigGroupEntity entity) |
ConfigGroup |
ConfigGroupFactory.createNew(Cluster cluster,
String name,
String tag,
String description,
Map<String,Config> configs,
Map<String,Host> hosts) |
Constructor and Description |
---|
ConfigGroupImpl(Cluster cluster,
ConfigGroupEntity configGroupEntity,
com.google.inject.Injector injector) |
ConfigGroupImpl(Cluster cluster,
String name,
String tag,
String description,
Map<String,Config> configs,
Map<String,Host> hosts,
com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
Map<String,HostConfig> |
HostImpl.getDesiredHostConfigs(Cluster cluster)
Get a map of configType with all applicable config tags.
|
Modifier and Type | Method and Description |
---|---|
RequestExecution |
RequestExecutionFactory.createExisting(Cluster cluster,
RequestScheduleEntity requestScheduleEntity) |
RequestExecution |
RequestExecutionFactory.createNew(Cluster cluster,
Batch batch,
Schedule schedule) |
Constructor and Description |
---|
RequestExecutionImpl(Cluster cluster,
Batch batch,
Schedule schedule,
com.google.inject.Injector injector) |
RequestExecutionImpl(Cluster cluster,
RequestScheduleEntity requestScheduleEntity,
com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
static Map<String,Set<String>> |
StageUtils.getClusterHostInfo(Map<String,Host> allHosts,
Cluster cluster) |
Copyright © 2015. All rights reserved.