org.apache.whirr.service.hama
Class HamaClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.hama.HamaClusterActionHandler
- All Implemented Interfaces:
- ClusterActionHandler
- Direct Known Subclasses:
- HamaGroomServerClusterActionHandler, HamaMasterClusterActionHandler
public abstract class HamaClusterActionHandler
- extends ClusterActionHandlerSupport
Base class for Hama service handlers.
Method Summary |
protected void |
beforeBootstrap(ClusterActionEvent event)
|
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 hama defaults properties. |
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterConfigure, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeCleanup, beforeConfigure, beforeDestroy, beforeOtherAction, beforeStart, beforeStop, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, hashCode, prepareRemoteFileUrl, toString |
HamaClusterActionHandler
public HamaClusterActionHandler()
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 hama defaults properties.
- Throws:
IOException
beforeBootstrap
protected void beforeBootstrap(ClusterActionEvent event)
throws IOException
- Overrides:
beforeBootstrap
in class ClusterActionHandlerSupport
- Throws:
IOException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.