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

public class HadoopNameNodeClusterActionHandler
extends HadoopClusterActionHandler


Field Summary
static int JOBTRACKER_PORT
           
static int JOBTRACKER_WEB_UI_PORT
           
static int NAMENODE_PORT
           
static int NAMENODE_WEB_UI_PORT
           
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 beforeConfigure(ClusterActionEvent event)
           
 String getRole()
           
 
Methods inherited from class org.apache.whirr.service.hadoop.HadoopClusterActionHandler
beforeBootstrap, getConfiguration
 
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport
addRunUrl, addStatement, afterAction, afterBootstrap, afterDestroy, afterOtherAction, beforeAction, beforeDestroy, beforeOtherAction, getConfiguration, getConfiguration, prepareRemoteFileUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE

public static final String ROLE
See Also:
Constant Field Values

NAMENODE_PORT

public static final int NAMENODE_PORT
See Also:
Constant Field Values

JOBTRACKER_PORT

public static final int JOBTRACKER_PORT
See Also:
Constant Field Values

NAMENODE_WEB_UI_PORT

public static final int NAMENODE_WEB_UI_PORT
See Also:
Constant Field Values

JOBTRACKER_WEB_UI_PORT

public static final int JOBTRACKER_WEB_UI_PORT
See Also:
Constant Field Values
Constructor Detail

HadoopNameNodeClusterActionHandler

public HadoopNameNodeClusterActionHandler()
Method Detail

getRole

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

beforeConfigure

protected void beforeConfigure(ClusterActionEvent event)
                        throws IOException,
                               InterruptedException
Overrides:
beforeConfigure in class ClusterActionHandlerSupport
Throws:
IOException
InterruptedException

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.