org.apache.whirr.service.yarn
Class YarnHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.yarn.YarnHandler
- All Implemented Interfaces:
- ClusterActionHandler
- Direct Known Subclasses:
- MapReduceJobHistoryServerHandler, YarnNodeManagerHandler, YarnResourceManagerHandler
public abstract class YarnHandler
- extends ClusterActionHandlerSupport
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addClusterToEtcHostsAndFirewall, addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterConfigure, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeCleanup, beforeConfigure, beforeDestroy, beforeOtherAction, beforeStart, beforeStop, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, handleFirewallRules, hashCode, prepareRemoteFileUrl, toString |
YarnHandler
public YarnHandler()
getConfiguration
protected org.apache.commons.configuration.Configuration getConfiguration(ClusterSpec clusterSpec)
throws IOException
- Throws:
IOException
getInstallFunction
protected String getInstallFunction(org.apache.commons.configuration.Configuration config)
getConfigureFunction
protected String getConfigureFunction(org.apache.commons.configuration.Configuration config)
getStartFunction
protected String getStartFunction(org.apache.commons.configuration.Configuration config)
beforeBootstrap
protected void beforeBootstrap(ClusterActionEvent event)
throws IOException
- Overrides:
beforeBootstrap
in class ClusterActionHandlerSupport
- Throws:
IOException
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.