|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.whirr.service.ClusterActionHandlerSupport
org.apache.whirr.service.hama.HamaClusterActionHandler
public abstract class HamaClusterActionHandler
Base class for Hama service handlers.
| Field Summary |
|---|
| Fields inherited from interface org.apache.whirr.service.ClusterActionHandler |
|---|
BOOTSTRAP_ACTION, CLEANUP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION, START_ACTION, STOP_ACTION |
| Constructor Summary | |
|---|---|
HamaClusterActionHandler()
|
|
| Method Summary | |
|---|---|
protected void |
beforeBootstrap(org.apache.whirr.service.ClusterActionEvent event)
|
protected org.apache.commons.configuration.Configuration |
getConfiguration(org.apache.whirr.ClusterSpec clusterSpec)
Returns a composite configuration that is made up from the global configuration coming from the Whirr core with a hama defaults properties. |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.whirr.service.ClusterActionHandler |
|---|
getRole |
| Constructor Detail |
|---|
public HamaClusterActionHandler()
| Method Detail |
|---|
protected org.apache.commons.configuration.Configuration getConfiguration(org.apache.whirr.ClusterSpec clusterSpec)
throws IOException
IOException
protected void beforeBootstrap(org.apache.whirr.service.ClusterActionEvent event)
throws IOException
beforeBootstrap in class org.apache.whirr.service.ClusterActionHandlerSupportIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||