org.apache.whirr.service.hadoop
Class HadoopNameNodeClusterActionHandler

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
              extended by org.apache.whirr.service.hadoop.HadoopNameNodeClusterActionHandler
Direct Known Subclasses:
HadoopJobTrackerClusterActionHandler

public class HadoopNameNodeClusterActionHandler
extends HadoopClusterActionHandler


Field Summary
static String ROLE
           
 
Fields inherited from class org.apache.whirr.service.ClusterActionHandler
BOOTSTRAP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION
 
Constructor Summary
HadoopNameNodeClusterActionHandler()
           
 
Method Summary
protected  void afterConfigure(ClusterActionEvent event)
           
protected  void doBeforeConfigure(ClusterActionEvent event)
           
 String getRole()
           
 
Methods inherited from class org.apache.whirr.service.hadoop.HadoopClusterActionHandler
beforeBootstrap, beforeConfigure, getConfiguration, getConfigureFunction, getInstallFunction
 
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport
addRunUrl, addStatement, afterAction, afterBootstrap, afterDestroy, afterOtherAction, beforeAction, beforeDestroy, beforeOtherAction, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, prepareRemoteFileUrl
 
Methods inherited from class org.apache.whirr.service.ClusterActionHandler
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ROLE

public static final String ROLE
See Also:
Constant Field Values
Constructor Detail

HadoopNameNodeClusterActionHandler

public HadoopNameNodeClusterActionHandler()
Method Detail

getRole

public String getRole()
Specified by:
getRole in class ClusterActionHandler

doBeforeConfigure

protected void doBeforeConfigure(ClusterActionEvent event)
                          throws IOException
Overrides:
doBeforeConfigure in class HadoopClusterActionHandler
Throws:
IOException

afterConfigure

protected void afterConfigure(ClusterActionEvent event)
                       throws IOException
Overrides:
afterConfigure in class ClusterActionHandlerSupport
Throws:
IOException


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