public abstract class DruidClusterActionHandler extends ClusterActionHandlerSupport
BOOTSTRAP_ACTION, CLEANUP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION, START_ACTION, STOP_ACTION| Constructor and Description |
|---|
DruidClusterActionHandler() |
| Modifier and Type | Method and Description |
|---|---|
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 org.apache.commons.configuration.Configuration |
getConfiguration(ClusterSpec clusterSpec) |
protected String |
getConfigureFunction(org.apache.commons.configuration.Configuration config) |
abstract Integer |
getPort() |
abstract String |
getRole() |
protected String |
getStartFunction(org.apache.commons.configuration.Configuration config) |
addClusterToEtcHostsAndFirewall, addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterConfigure, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeDestroy, beforeOtherAction, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, handleFirewallRules, hashCode, prepareRemoteFileUrl, toStringpublic abstract String getRole()
public abstract Integer getPort()
protected void beforeConfigure(ClusterActionEvent event) throws IOException
beforeConfigure in class ClusterActionHandlerSupportIOExceptionprotected void beforeBootstrap(ClusterActionEvent event) throws IOException
beforeBootstrap in class ClusterActionHandlerSupportIOExceptionprotected org.apache.commons.configuration.Configuration getConfiguration(ClusterSpec clusterSpec) throws IOException
IOExceptionprotected String getConfigureFunction(org.apache.commons.configuration.Configuration config)
protected 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 getStartFunction(org.apache.commons.configuration.Configuration config)
Copyright © 2010–2016 Cloudera. All rights reserved.