org.apache.whirr.service.hadoop
Class HadoopClusterActionHandler

java.lang.Object
  extended by org.apache.whirr.service.ClusterActionHandler
      extended by org.apache.whirr.service.ClusterActionHandlerSupport
          extended by org.apache.whirr.service.hadoop.HadoopClusterActionHandler
Direct Known Subclasses:
HadoopDataNodeClusterActionHandler, HadoopNameNodeClusterActionHandler

public abstract class HadoopClusterActionHandler
extends ClusterActionHandlerSupport


Field Summary
 
Fields inherited from class org.apache.whirr.service.ClusterActionHandler
BOOTSTRAP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION
 
Constructor Summary
HadoopClusterActionHandler()
           
 
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 org.apache.whirr.service.ClusterActionHandler
getRole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HadoopClusterActionHandler

public HadoopClusterActionHandler()
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 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.