org.apache.whirr.service.hadoop
Class HadoopClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandler
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.hadoop.HadoopClusterActionHandler
- Direct Known Subclasses:
- HadoopDataNodeClusterActionHandler, HadoopNameNodeClusterActionHandler
public abstract class HadoopClusterActionHandler
- extends ClusterActionHandlerSupport
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 hadoop defaults
properties. |
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addRunUrl, addStatement, afterAction, afterBootstrap, afterConfigure, afterDestroy, afterOtherAction, beforeAction, beforeConfigure, beforeDestroy, beforeOtherAction, getConfiguration, getConfiguration, prepareRemoteFileUrl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HadoopClusterActionHandler
public HadoopClusterActionHandler()
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 hadoop defaults
properties.
- Throws:
IOException
beforeBootstrap
protected void beforeBootstrap(ClusterActionEvent event)
throws IOException
- Overrides:
beforeBootstrap
in class ClusterActionHandlerSupport
- Throws:
IOException
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.