org.apache.whirr.service.hadoop
Class HadoopJobTrackerClusterActionHandler

java.lang.Object
  extended by org.apache.whirr.service.ClusterActionHandlerSupport
      extended by org.apache.whirr.service.hadoop.HadoopClusterActionHandler
          extended by org.apache.whirr.service.hadoop.HadoopNameNodeClusterActionHandler
              extended by org.apache.whirr.service.hadoop.HadoopJobTrackerClusterActionHandler
All Implemented Interfaces:
ClusterActionHandler

public class HadoopJobTrackerClusterActionHandler
extends HadoopNameNodeClusterActionHandler


Field Summary
static String ROLE
           
 
Fields inherited from interface org.apache.whirr.service.ClusterActionHandler
BOOTSTRAP_ACTION, CLEANUP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION, START_ACTION, STOP_ACTION
 
Constructor Summary
HadoopJobTrackerClusterActionHandler()
           
 
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, getDeviceMappings, getInstallFunction
 
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport
addClusterToEtcHostsAndFirewall, addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeCleanup, beforeDestroy, beforeOtherAction, beforeStart, beforeStop, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, handleFirewallRules, hashCode, prepareRemoteFileUrl, 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

HadoopJobTrackerClusterActionHandler

public HadoopJobTrackerClusterActionHandler()
Method Detail

getRole

public String getRole()
Specified by:
getRole in interface ClusterActionHandler
Overrides:
getRole in class HadoopNameNodeClusterActionHandler

doBeforeConfigure

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

afterConfigure

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


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