org.apache.whirr.service.hbase
Class HBaseClusterActionHandler

java.lang.Object
  extended by org.apache.whirr.service.ClusterActionHandler
      extended by org.apache.whirr.service.ClusterActionHandlerSupport
          extended by org.apache.whirr.service.hbase.HBaseClusterActionHandler
Direct Known Subclasses:
BasicServerClusterActionHandler, HBaseMasterClusterActionHandler, HBaseRegionServerClusterActionHandler

public abstract class HBaseClusterActionHandler
extends ClusterActionHandlerSupport

Base class for HBase service handlers.


Field Summary
 
Fields inherited from class org.apache.whirr.service.ClusterActionHandler
BOOTSTRAP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION
 
Constructor Summary
HBaseClusterActionHandler()
           
 
Method Summary
protected  org.apache.commons.configuration.Configuration getConfiguration(ClusterSpec clusterSpec)
          Returns a composite configuration that is made up from the global configuration coming from the Whirr core with a hbase defaults properties.
protected  String getConfigureFunction(org.apache.commons.configuration.Configuration config)
           
protected  String getInstallFunction(org.apache.commons.configuration.Configuration config)
           
 
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport
addRunUrl, addStatement, afterAction, afterBootstrap, afterConfigure, afterDestroy, afterOtherAction, beforeAction, beforeBootstrap, beforeConfigure, beforeDestroy, beforeOtherAction, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, prepareRemoteFileUrl
 
Methods inherited from class org.apache.whirr.service.ClusterActionHandler
equals, getRole, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HBaseClusterActionHandler

public HBaseClusterActionHandler()
Method Detail

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)


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.