public class GangliaMonitorClusterActionHandler extends ClusterActionHandlerSupport
| Modifier and Type | Field and Description |
|---|---|
static int |
GANGLIA_MONITOR_PORT |
static String |
GANGLIA_MONITOR_ROLE |
BOOTSTRAP_ACTION, CLEANUP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION, START_ACTION, STOP_ACTION| Constructor and Description |
|---|
GangliaMonitorClusterActionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConfigure(ClusterActionEvent event) |
protected void |
beforeBootstrap(ClusterActionEvent event) |
protected void |
beforeConfigure(ClusterActionEvent event) |
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() |
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 GANGLIA_MONITOR_ROLE
public static final int GANGLIA_MONITOR_PORT
public String getRole()
protected org.apache.commons.configuration.Configuration getConfiguration(ClusterSpec spec) throws IOException
IOExceptionprotected String getInstallFunction(org.apache.commons.configuration.Configuration config)
protected String getConfigureFunction(org.apache.commons.configuration.Configuration config)
protected 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 ClusterActionHandlerSupportCopyright © 2010–2016 Cloudera. All rights reserved.