public class BootstrapClusterAction extends ScriptBasedClusterAction
ClusterAction that starts instances in a cluster in parallel and
runs bootstrap scripts on them.| Constructor and Description |
|---|
BootstrapClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute,
com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAction(Map<InstanceTemplate,ClusterActionEvent> eventMap) |
protected String |
getAction() |
eventSpecificActions, execute, instanceIsNotInTarget, postRunScriptsActions, roleIsInTarget, runScripts, runStatementOnInstanceInCluster, shouldIgnoreInstanceTemplategetComputepublic BootstrapClusterAction(com.google.common.base.Function<ClusterSpec,org.jclouds.compute.ComputeServiceContext> getCompute, com.google.common.cache.LoadingCache<String,ClusterActionHandler> handlerMap)
protected String getAction()
getAction in class ClusterActionprotected void doAction(Map<InstanceTemplate,ClusterActionEvent> eventMap) throws IOException, InterruptedException
doAction in class ScriptBasedClusterActionIOExceptionInterruptedExceptionCopyright © 2010–2016 Cloudera. All rights reserved.