public class ZooKeeperClusterActionHandler extends ClusterActionHandlerSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
ZOOKEEPER_ROLE |
BOOTSTRAP_ACTION, CLEANUP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION, START_ACTION, STOP_ACTION| Constructor and Description |
|---|
ZooKeeperClusterActionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConfigure(ClusterActionEvent event) |
protected void |
beforeBootstrap(ClusterActionEvent event) |
protected void |
beforeCleanup(ClusterActionEvent event) |
protected void |
beforeConfigure(ClusterActionEvent event) |
protected void |
beforeStart(ClusterActionEvent event) |
protected void |
beforeStop(ClusterActionEvent event) |
protected String |
getCleanupFunction(org.apache.commons.configuration.Configuration config) |
protected org.apache.commons.configuration.Configuration |
getConfiguration(ClusterSpec spec) |
protected String |
getConfigureFunction(org.apache.commons.configuration.Configuration config) |
protected String |
getInstallFunction(org.apache.commons.configuration.Configuration config) |
String |
getRole() |
protected String |
getStartFunction(org.apache.commons.configuration.Configuration config) |
protected String |
getStopFunction(org.apache.commons.configuration.Configuration config) |
addClusterToEtcHostsAndFirewall, addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeDestroy, beforeOtherAction, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, handleFirewallRules, hashCode, prepareRemoteFileUrl, toStringpublic static final String ZOOKEEPER_ROLE
public String getRole()
protected org.apache.commons.configuration.Configuration getConfiguration(ClusterSpec spec) throws IOException
IOExceptionprotected void beforeBootstrap(ClusterActionEvent event) throws IOException
beforeBootstrap in class ClusterActionHandlerSupportIOExceptionprotected void beforeConfigure(ClusterActionEvent event) throws IOException, InterruptedException
beforeConfigure in class ClusterActionHandlerSupportIOExceptionInterruptedExceptionprotected void afterConfigure(ClusterActionEvent event)
afterConfigure in class ClusterActionHandlerSupportprotected void beforeStart(ClusterActionEvent event) throws IOException
beforeStart in class ClusterActionHandlerSupportIOExceptionprotected void beforeStop(ClusterActionEvent event) throws IOException
beforeStop in class ClusterActionHandlerSupportIOExceptionprotected void beforeCleanup(ClusterActionEvent event) throws IOException
beforeCleanup in class ClusterActionHandlerSupportIOExceptionprotected String getInstallFunction(org.apache.commons.configuration.Configuration config)
protected String getConfigureFunction(org.apache.commons.configuration.Configuration config)
protected String getStartFunction(org.apache.commons.configuration.Configuration config)
protected String getStopFunction(org.apache.commons.configuration.Configuration config)
protected String getCleanupFunction(org.apache.commons.configuration.Configuration config)
Copyright © 2010–2016 Cloudera. All rights reserved.