public class PuppetClusterActionHandler extends PuppetInstallClusterActionHandler
PUPPET_INSTALL_ROLEBOOTSTRAP_ACTION, CLEANUP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION, START_ACTION, STOP_ACTION| Constructor and Description |
|---|
PuppetClusterActionHandler(String role) |
PuppetClusterActionHandler(String role,
com.google.common.base.Function<ClusterActionEvent,StatementToInstallModule> getStatementToInstallModuleForAction) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeBootstrap(ClusterActionEvent event) |
protected void |
beforeConfigure(ClusterActionEvent event) |
String |
getRole() |
addClusterToEtcHostsAndFirewall, addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterConfigure, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeCleanup, beforeDestroy, beforeOtherAction, beforeStart, beforeStop, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, handleFirewallRules, hashCode, prepareRemoteFileUrl, toStringpublic PuppetClusterActionHandler(String role)
public PuppetClusterActionHandler(String role, com.google.common.base.Function<ClusterActionEvent,StatementToInstallModule> getStatementToInstallModuleForAction)
getStatementToInstallModuleForAction - allows you to override to facilitate testingpublic String getRole()
getRole in interface ClusterActionHandlergetRole in class PuppetInstallClusterActionHandlerprotected void beforeBootstrap(ClusterActionEvent event) throws IOException, InterruptedException
beforeBootstrap in class PuppetInstallClusterActionHandlerIOExceptionInterruptedExceptionprotected void beforeConfigure(ClusterActionEvent event) throws IOException, InterruptedException
beforeConfigure in class ClusterActionHandlerSupportIOExceptionInterruptedExceptionCopyright © 2010–2016 Cloudera. All rights reserved.