org.apache.whirr.service.hbase
Class HBaseClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.hbase.HBaseClusterActionHandler
- All Implemented Interfaces:
- ClusterActionHandler
- Direct Known Subclasses:
- BasicServerClusterActionHandler, HBaseMasterClusterActionHandler, HBaseRegionServerClusterActionHandler
public abstract class HBaseClusterActionHandler
- extends ClusterActionHandlerSupport
Base class for HBase service handlers.
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterConfigure, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeBootstrap, beforeCleanup, beforeConfigure, beforeDestroy, beforeOtherAction, beforeStart, beforeStop, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, hashCode, prepareRemoteFileUrl, toString |
HBaseClusterActionHandler
public HBaseClusterActionHandler()
getConfiguration
protected org.apache.commons.configuration.Configuration getConfiguration(ClusterSpec clusterSpec)
throws IOException
- Returns a composite configuration that is made up from the global
configuration coming from the Whirr core with a hbase defaults
properties.
- Throws:
IOException
getInstallFunction
protected String getInstallFunction(org.apache.commons.configuration.Configuration config)
getConfigureFunction
protected String getConfigureFunction(org.apache.commons.configuration.Configuration config)
getMetricsTemplate
protected String getMetricsTemplate(ClusterActionEvent event,
ClusterSpec clusterSpec,
Cluster cluster)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.