org.apache.whirr.service.pig
Class PigClientClusterActionHandler
java.lang.Object
org.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.pig.PigClientClusterActionHandler
- All Implemented Interfaces:
- ClusterActionHandler
public class PigClientClusterActionHandler
- extends ClusterActionHandlerSupport
Pig cluster action handler which configures Pig by unpacking a binary tarball and
setting PIG_HOME and PATH environment variables.
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport |
addClusterToEtcHostsAndFirewall, addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterConfigure, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeCleanup, beforeDestroy, beforeOtherAction, beforeStart, beforeStop, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, handleFirewallRules, hashCode, prepareRemoteFileUrl, toString |
PIG_CLIENT_ROLE
public static final String PIG_CLIENT_ROLE
- See Also:
- Constant Field Values
PigClientClusterActionHandler
public PigClientClusterActionHandler()
getRole
public String getRole()
beforeBootstrap
protected void beforeBootstrap(ClusterActionEvent event)
throws IOException,
InterruptedException
- Overrides:
beforeBootstrap
in class ClusterActionHandlerSupport
- Throws:
IOException
InterruptedException
beforeConfigure
protected void beforeConfigure(ClusterActionEvent event)
throws IOException,
InterruptedException
- Overrides:
beforeConfigure
in class ClusterActionHandlerSupport
- Throws:
IOException
InterruptedException
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.