Uses of Class
org.apache.whirr.ClusterSpec

Packages that use ClusterSpec
org.apache.whirr The Whirr client API. 
org.apache.whirr.actions A collection of ClusterAction implementations. 
org.apache.whirr.cli.command   
org.apache.whirr.command   
org.apache.whirr.compute   
org.apache.whirr.service The Whirr Service API. 
org.apache.whirr.service.elasticsearch   
org.apache.whirr.service.ganglia   
org.apache.whirr.service.hadoop   
org.apache.whirr.service.hama   
org.apache.whirr.service.hbase   
org.apache.whirr.service.jclouds jclouds-specific classes. 
org.apache.whirr.service.yarn   
org.apache.whirr.service.zookeeper   
org.apache.whirr.state   
org.apache.whirr.template   
org.apache.whirr.util Utility classes. 
 

Uses of ClusterSpec in org.apache.whirr
 

Methods in org.apache.whirr that return ClusterSpec
 ClusterSpec ClusterSpec.copy()
          Create a deep object copy.
static ClusterSpec ClusterSpec.withNoDefaults()
          Create new empty instance for testing.
static ClusterSpec ClusterSpec.withNoDefaults(org.apache.commons.configuration.Configuration conf)
           
static ClusterSpec ClusterSpec.withTemporaryKeys()
          Create an instance that uses a temporary RSA key pair.
static ClusterSpec ClusterSpec.withTemporaryKeys(org.apache.commons.configuration.Configuration conf)
           
 

Methods in org.apache.whirr that return types with arguments of type ClusterSpec
 com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> ClusterController.getCompute()
           
 com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> ClusterAction.getCompute()
           
 

Methods in org.apache.whirr with parameters of type ClusterSpec
 Cluster ClusterController.bootstrapCluster(ClusterSpec clusterSpec)
          Provision the hardware resources needed for running services
 Cluster ByonClusterController.bootstrapCluster(ClusterSpec clusterSpec)
          Provisions the hardware for a BYON cluster.
 Cluster ClusterController.cleanupCluster(ClusterSpec spec)
          Remove the cluster services
 Cluster ClusterController.cleanupCluster(ClusterSpec clusterSpec, Cluster cluster)
           
 Cluster ClusterController.configureServices(ClusterSpec spec)
          Configure cluster services
 Cluster ClusterController.configureServices(ClusterSpec clusterSpec, Cluster cluster)
           
 Cluster ClusterController.configureServices(ClusterSpec clusterSpec, Cluster cluster, Set<String> targetRoles, Set<String> targetInstanceIds)
           
 Cluster ByonClusterController.configureServices(ClusterSpec clusterSpec, Cluster cluster, Set<String> targetRoles, Set<String> targetInstanceIds)
          Configures cluster services for a BYON cluster.
 org.jclouds.compute.options.RunScriptOptions ClusterController.defaultRunScriptOptionsForSpec(ClusterSpec spec)
           
 void ClusterController.destroyCluster(ClusterSpec clusterSpec)
          Stop the cluster and destroy all resources associated with it.
 void ByonClusterController.destroyCluster(ClusterSpec clusterSpec)
          Destroys a whirr BYON cluster.
 void ClusterController.destroyCluster(ClusterSpec clusterSpec, Cluster cluster)
           
 void ClusterController.destroyInstance(ClusterSpec clusterSpec, String instanceId)
           
 void ByonClusterController.destroyInstance(ClusterSpec clusterSpec, String instanceId)
           
abstract  Cluster ClusterAction.execute(ClusterSpec clusterSpec, Cluster cluster)
           
 ClusterStateStore ClusterController.getClusterStateStore(ClusterSpec clusterSpec)
           
 Set<Cluster.Instance> ClusterController.getInstances(ClusterSpec spec)
           
 Set<Cluster.Instance> ClusterController.getInstances(ClusterSpec spec, ClusterStateStore stateStore)
           
 Set<? extends org.jclouds.compute.domain.NodeMetadata> ClusterController.getNodes(ClusterSpec clusterSpec)
          Deprecated. 
 Set<? extends org.jclouds.compute.domain.NodeMetadata> ByonClusterController.getNodes(ClusterSpec clusterSpec)
           
 Cluster ClusterController.launchCluster(ClusterSpec clusterSpec)
          Start the cluster described by clusterSpec and block until the cluster is available.
 Map<? extends org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.ExecResponse> ClusterController.runScriptOnNodesMatching(ClusterSpec spec, com.google.common.base.Predicate<org.jclouds.compute.domain.NodeMetadata> condition, org.jclouds.scriptbuilder.domain.Statement statement)
           
 Map<? extends org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.ExecResponse> ByonClusterController.runScriptOnNodesMatching(ClusterSpec spec, com.google.common.base.Predicate<org.jclouds.compute.domain.NodeMetadata> condition, org.jclouds.scriptbuilder.domain.Statement statement)
           
 Map<? extends org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.ExecResponse> ClusterController.runScriptOnNodesMatching(ClusterSpec spec, com.google.common.base.Predicate<org.jclouds.compute.domain.NodeMetadata> condition, org.jclouds.scriptbuilder.domain.Statement statement, org.jclouds.compute.options.RunScriptOptions options)
           
 Cluster ClusterController.startServices(ClusterSpec spec)
          Start the cluster services
 Cluster ClusterController.startServices(ClusterSpec clusterSpec, Cluster cluster)
           
 Cluster ClusterController.startServices(ClusterSpec clusterSpec, Cluster cluster, Set<String> targetRoles, Set<String> targetInstanceIds)
           
 Cluster ClusterController.stopServices(ClusterSpec spec)
          Stop the cluster services
 Cluster ClusterController.stopServices(ClusterSpec clusterSpec, Cluster cluster)
           
 Cluster ClusterController.stopServices(ClusterSpec clusterSpec, Cluster cluster, Set<String> targetRoles, Set<String> targetInstanceIds)
           
 

Constructor parameters in org.apache.whirr with type arguments of type ClusterSpec
ByonClusterController(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, ClusterStateStoreFactory stateStoreFactory)
           
ClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute)
           
ClusterController(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, ClusterStateStoreFactory stateStoreFactory)
           
 

Uses of ClusterSpec in org.apache.whirr.actions
 

Methods in org.apache.whirr.actions with parameters of type ClusterSpec
 Cluster ScriptBasedClusterAction.execute(ClusterSpec clusterSpec, Cluster cluster)
           
 com.google.common.util.concurrent.ListenableFuture<org.jclouds.compute.domain.ExecResponse> ScriptBasedClusterAction.runStatementOnInstanceInCluster(StatementBuilder statementBuilder, Cluster.Instance instance, ClusterSpec clusterSpec, org.jclouds.compute.options.RunScriptOptions options)
           
 

Constructor parameters in org.apache.whirr.actions with type arguments of type ClusterSpec
BootstrapClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
ByonClusterAction(String action, com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
CleanupClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
CleanupClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap, Set<String> targetRoles, Set<String> targetInstanceIds)
           
ConfigureServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
ConfigureServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap, Set<String> targetRoles, Set<String> targetInstanceIds)
           
DestroyClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
ScriptBasedClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
ScriptBasedClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap, Set<String> targetRoles, Set<String> targetInstanceIds)
           
StartServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
StartServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap, Set<String> targetRoles, Set<String> targetInstanceIds)
           
StopServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
           
StopServicesAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap, Set<String> targetRoles, Set<String> targetInstanceIds)
           
 

Uses of ClusterSpec in org.apache.whirr.cli.command
 

Methods in org.apache.whirr.cli.command with parameters of type ClusterSpec
 int ListClusterCommand.run(InputStream in, PrintStream out, PrintStream err, ClusterSpec clusterSpec)
           
 int LaunchClusterCommand.run(InputStream in, PrintStream out, PrintStream err, ClusterSpec clusterSpec)
           
 int DestroyClusterCommand.run(InputStream in, PrintStream out, PrintStream err, ClusterSpec clusterSpec)
           
 int DestroyInstanceCommand.run(InputStream in, PrintStream out, PrintStream err, ClusterSpec clusterSpec, String instanceId)
           
 int RunScriptCommand.run(InputStream in, PrintStream out, PrintStream err, ClusterSpec clusterSpec, String[] instances, String[] roles, String fileName)
           
 int StopServicesCommand.runLifecycleStep(ClusterSpec clusterSpec, ClusterController controller, joptsimple.OptionSet optionSet)
           
 int StartServicesCommand.runLifecycleStep(ClusterSpec clusterSpec, ClusterController controller, joptsimple.OptionSet optionSet)
           
abstract  int RoleLifecycleCommand.runLifecycleStep(ClusterSpec clusterSpec, ClusterController controller, joptsimple.OptionSet optionSet)
          Implement this method to trigger the relevant role lifecycle action
 int RestartServicesCommand.runLifecycleStep(ClusterSpec clusterSpec, ClusterController controller, joptsimple.OptionSet optionSet)
           
 int ConfigureServicesCommand.runLifecycleStep(ClusterSpec clusterSpec, ClusterController controller, joptsimple.OptionSet optionSet)
           
 

Uses of ClusterSpec in org.apache.whirr.command
 

Methods in org.apache.whirr.command that return ClusterSpec
protected  ClusterSpec AbstractClusterCommand.getClusterSpec(joptsimple.OptionSet optionSet)
          Load the cluster spec by parsing the command line option set
 

Methods in org.apache.whirr.command with parameters of type ClusterSpec
protected  ClusterStateStore AbstractClusterCommand.createClusterStateStore(ClusterSpec spec)
          Create the cluster state store object
protected  Cluster AbstractClusterCommand.getCluster(ClusterSpec clusterSpec, ClusterController controller)
          Get the cluster instance together with NodeMetadata (through API calls)
protected  void AbstractClusterCommand.printProviderInfo(PrintStream out, PrintStream err, ClusterSpec clusterSpec, joptsimple.OptionSet optionSet)
           
 

Uses of ClusterSpec in org.apache.whirr.compute
 

Methods in org.apache.whirr.compute with parameters of type ClusterSpec
static org.jclouds.compute.domain.Template BootstrapTemplate.build(ClusterSpec clusterSpec, org.jclouds.compute.ComputeService computeService, StatementBuilder statementBuilder, InstanceTemplate instanceTemplate)
           
 

Uses of ClusterSpec in org.apache.whirr.service
 

Methods in org.apache.whirr.service that return ClusterSpec
 ClusterSpec ClusterActionEvent.getClusterSpec()
           
 

Methods in org.apache.whirr.service that return types with arguments of type ClusterSpec
 com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> ClusterActionEvent.getCompute()
           
 

Methods in org.apache.whirr.service with parameters of type ClusterSpec
 org.jclouds.compute.ComputeServiceContext DynamicComputeCache.apply(ClusterSpec arg0)
           
 org.jclouds.compute.ComputeServiceContext ComputeCache.apply(ClusterSpec arg0)
           
static void FirewallManager.authorizeIngress(org.jclouds.compute.ComputeServiceContext computeServiceContext, Set<Cluster.Instance> instances, ClusterSpec clusterSpec, List<String> cidrs, int... ports)
           
static org.jclouds.blobstore.BlobStoreContext BlobStoreContextBuilder.build(ClusterSpec spec)
           
protected  org.apache.commons.configuration.Configuration ClusterActionHandlerSupport.getConfiguration(ClusterSpec clusterSpec, org.apache.commons.configuration.Configuration defaults)
          Returns a composite configuration that is made up from the global configuration coming from the Whirr core with the service default properties.
protected  org.apache.commons.configuration.Configuration ClusterActionHandlerSupport.getConfiguration(ClusterSpec clusterSpec, String defaultsPropertiesFile)
           
 

Constructors in org.apache.whirr.service with parameters of type ClusterSpec
ClusterActionEvent(String action, ClusterSpec clusterSpec, InstanceTemplate instanceTemplate, Cluster cluster, com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, FirewallManager firewallManager, org.apache.velocity.app.VelocityEngine velocityEngine)
           
ClusterActionEvent(String action, ClusterSpec clusterSpec, InstanceTemplate instanceTemplate, Cluster cluster, StatementBuilder statementBuilder, com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, FirewallManager firewallManager, org.apache.velocity.app.VelocityEngine velocityEngine)
           
FirewallManager(org.jclouds.compute.ComputeServiceContext computeServiceContext, ClusterSpec clusterSpec, Cluster cluster)
           
 

Constructor parameters in org.apache.whirr.service with type arguments of type ClusterSpec
ClusterActionEvent(String action, ClusterSpec clusterSpec, InstanceTemplate instanceTemplate, Cluster cluster, com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, FirewallManager firewallManager, org.apache.velocity.app.VelocityEngine velocityEngine)
           
ClusterActionEvent(String action, ClusterSpec clusterSpec, InstanceTemplate instanceTemplate, Cluster cluster, StatementBuilder statementBuilder, com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, FirewallManager firewallManager, org.apache.velocity.app.VelocityEngine velocityEngine)
           
 

Uses of ClusterSpec in org.apache.whirr.service.elasticsearch
 

Methods in org.apache.whirr.service.elasticsearch with parameters of type ClusterSpec
static org.jclouds.scriptbuilder.domain.Statement ElasticSearchConfigurationBuilder.build(String path, ClusterSpec spec, Cluster cluster)
           
static org.apache.commons.configuration.Configuration ElasticSearchConfigurationBuilder.buildConfig(ClusterSpec spec, Cluster cluster)
          Build a configuration by adding the expected defaults
 

Uses of ClusterSpec in org.apache.whirr.service.ganglia
 

Methods in org.apache.whirr.service.ganglia with parameters of type ClusterSpec
protected  org.apache.commons.configuration.Configuration GangliaMonitorClusterActionHandler.getConfiguration(ClusterSpec spec)
           
protected  org.apache.commons.configuration.Configuration GangliaMetadClusterActionHandler.getConfiguration(ClusterSpec spec)
           
 

Uses of ClusterSpec in org.apache.whirr.service.hadoop
 

Methods in org.apache.whirr.service.hadoop with parameters of type ClusterSpec
static org.jclouds.scriptbuilder.domain.Statement HadoopConfigurationBuilder.buildCommon(String path, ClusterSpec clusterSpec, Cluster cluster)
           
static org.jclouds.scriptbuilder.domain.Statement HadoopConfigurationBuilder.buildHadoopEnv(String path, ClusterSpec clusterSpec, Cluster cluster)
           
static org.jclouds.scriptbuilder.domain.Statement HadoopConfigurationBuilder.buildHdfs(String path, ClusterSpec clusterSpec, Cluster cluster, Set<String> dataDirectories)
           
static org.jclouds.scriptbuilder.domain.Statement HadoopConfigurationBuilder.buildMapReduce(String path, ClusterSpec clusterSpec, Cluster cluster, Set<String> dataDirectories)
           
protected  org.apache.commons.configuration.Configuration HadoopClusterActionHandler.getConfiguration(ClusterSpec clusterSpec)
          Returns a composite configuration that is made up from the global configuration coming from the Whirr core with a hadoop defaults properties.
 Map<String,String> VolumeManager.getDeviceMappings(ClusterSpec clusterSpec, Cluster.Instance instance)
           
 

Constructors in org.apache.whirr.service.hadoop with parameters of type ClusterSpec
HadoopProxy(ClusterSpec clusterSpec, Cluster cluster)
           
 

Uses of ClusterSpec in org.apache.whirr.service.hama
 

Methods in org.apache.whirr.service.hama with parameters of type ClusterSpec
protected  org.apache.commons.configuration.Configuration HamaClusterActionHandler.getConfiguration(ClusterSpec clusterSpec)
          Returns a composite configuration that is made up from the global configuration coming from the Whirr core with a hama defaults properties.
 

Uses of ClusterSpec in org.apache.whirr.service.hbase
 

Methods in org.apache.whirr.service.hbase with parameters of type ClusterSpec
static org.jclouds.scriptbuilder.domain.Statement HBaseConfigurationBuilder.buildHBaseEnv(String path, ClusterSpec clusterSpec, Cluster cluster)
           
static org.jclouds.scriptbuilder.domain.Statement HBaseConfigurationBuilder.buildHBaseSite(String path, ClusterSpec clusterSpec, Cluster cluster)
           
protected  org.apache.commons.configuration.Configuration HBaseClusterActionHandler.getConfiguration(ClusterSpec clusterSpec)
          Returns a composite configuration that is made up from the global configuration coming from the Whirr core with a hbase defaults properties.
protected  String HBaseClusterActionHandler.getMetricsTemplate(ClusterActionEvent event, ClusterSpec clusterSpec, Cluster cluster)
           
 

Uses of ClusterSpec in org.apache.whirr.service.jclouds
 

Methods in org.apache.whirr.service.jclouds with parameters of type ClusterSpec
 org.jclouds.scriptbuilder.domain.Statement StatementBuilder.build(ClusterSpec clusterSpec)
           
 org.jclouds.scriptbuilder.domain.Statement StatementBuilder.build(ClusterSpec clusterSpec, Cluster.Instance instance)
           
 

Uses of ClusterSpec in org.apache.whirr.service.yarn
 

Methods in org.apache.whirr.service.yarn with parameters of type ClusterSpec
static org.jclouds.scriptbuilder.domain.Statement YarnConfigurationBuilder.build(String path, ClusterSpec clusterSpec, Cluster cluster, String role)
           
protected  org.apache.commons.configuration.Configuration YarnHandler.getConfiguration(ClusterSpec clusterSpec)
           
 

Uses of ClusterSpec in org.apache.whirr.service.zookeeper
 

Methods in org.apache.whirr.service.zookeeper with parameters of type ClusterSpec
protected  org.apache.commons.configuration.Configuration ZooKeeperClusterActionHandler.getConfiguration(ClusterSpec spec)
           
 

Uses of ClusterSpec in org.apache.whirr.state
 

Methods in org.apache.whirr.state with parameters of type ClusterSpec
 ClusterStateStore ClusterStateStoreFactory.create(ClusterSpec spec)
           
protected  Cluster ClusterStateStore.unserialize(ClusterSpec spec, String content)
          Rebuild the Cluster instance by using the string representation
 

Constructors in org.apache.whirr.state with parameters of type ClusterSpec
BlobClusterStateStore(ClusterSpec spec)
           
FileClusterStateStore(ClusterSpec spec)
           
 

Uses of ClusterSpec in org.apache.whirr.template
 

Methods in org.apache.whirr.template with parameters of type ClusterSpec
static org.jclouds.scriptbuilder.domain.Statement TemplateUtils.createFileFromTemplate(String path, org.apache.velocity.app.VelocityEngine engine, String templateName, ClusterSpec clusterSpec, Cluster cluster)
           
static String TemplateUtils.processTemplate(org.apache.velocity.app.VelocityEngine engine, String templateName, ClusterSpec clusterSpec, Cluster cluster)
           
 

Uses of ClusterSpec in org.apache.whirr.util
 

Methods in org.apache.whirr.util with parameters of type ClusterSpec
static BlobCache BlobCache.getInstance(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, ClusterSpec spec)
           
static void Utils.printSSHConnectionDetails(PrintStream out, ClusterSpec clusterSpec, Cluster cluster, int maxPrint)
          Prints ssh commands that can be used to login into the nodes
 

Method parameters in org.apache.whirr.util with type arguments of type ClusterSpec
static BlobCache BlobCache.getInstance(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, ClusterSpec spec)
           
 



Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.