org.apache.whirr.service.mahout
Class MahoutClientClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.mahout.MahoutClientClusterActionHandler
- All Implemented Interfaces:
- ClusterActionHandler
public class MahoutClientClusterActionHandler
- extends ClusterActionHandlerSupport
Mahout cluster action handler which configures Mahout by unpacking a binary tarball and
setting MAHOUT_HOME and PATH environment variables.
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
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, hashCode, prepareRemoteFileUrl, toString |
MAHOUT_CLIENT_ROLE
public static final String MAHOUT_CLIENT_ROLE
- See Also:
- Constant Field Values
MahoutClientClusterActionHandler
public MahoutClientClusterActionHandler()
getRole
public String getRole()
beforeBootstrap
protected void beforeBootstrap(ClusterActionEvent event)
throws IOException,
InterruptedException
- Overrides:
beforeBootstrap
in class ClusterActionHandlerSupport
- Throws:
IOException
InterruptedException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.