public class ChefClusterActionHandler extends ClusterActionHandlerSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
CHEF_SLEEP_AFTER_RECIPE |
static long |
CHEF_SLEEP_AFTER_RECIPE_DEFAULT |
BOOTSTRAP_ACTION, CLEANUP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION, START_ACTION, STOP_ACTION| Constructor and Description |
|---|
ChefClusterActionHandler(String role) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConfigure(ClusterActionEvent event) |
protected void |
beforeBootstrap(ClusterActionEvent event) |
protected void |
beforeConfigure(ClusterActionEvent event) |
String |
getRole() |
addClusterToEtcHostsAndFirewall, addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeCleanup, beforeDestroy, beforeOtherAction, beforeStart, beforeStop, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, handleFirewallRules, hashCode, prepareRemoteFileUrl, toStringpublic static final String CHEF_SLEEP_AFTER_RECIPE
public static final long CHEF_SLEEP_AFTER_RECIPE_DEFAULT
public ChefClusterActionHandler(String role)
public String getRole()
protected void beforeBootstrap(ClusterActionEvent event) throws IOException, InterruptedException
beforeBootstrap in class ClusterActionHandlerSupportIOExceptionInterruptedExceptionprotected void beforeConfigure(ClusterActionEvent event) throws IOException, InterruptedException
beforeConfigure in class ClusterActionHandlerSupportIOExceptionInterruptedExceptionprotected void afterConfigure(ClusterActionEvent event) throws IOException, InterruptedException
afterConfigure in class ClusterActionHandlerSupportIOExceptionInterruptedExceptionCopyright © 2010–2016 Cloudera. All rights reserved.