Brooklyn

brooklyn.extras.whirr
[Java] Class WebFabricWithHadoopExample

java.lang.Object
  brooklyn.entity.basic.AbstractEntity
      brooklyn.entity.basic.AbstractApplication
          brooklyn.extras.whirr.WebFabricWithHadoopExample
All Implemented Interfaces:
StartableApplication

public class WebFabricWithHadoopExample
extends AbstractApplication

Starts hadoop in the first location supplied, and the hadoop-friendly webapp in all other locations. Webapp get configured via the configure.jsp page, plus supplying the proxy command, to connect to hadoop.


Nested Class Summary
static class WebFabricWithHadoopExample.PrepVmsForHadoop

 
Field Summary
static java.lang.String WAR_PATH

 
Fields inherited from class AbstractApplication
log
 
Fields inherited from class AbstractEntity
EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, LOG, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, managementSupport, tempWorkings
 
Constructor Summary
WebFabricWithHadoopExample()

 
Method Summary
void init()

static void main(java.lang.String[] argv)

void start(java.util.Collection locations)

 
Methods inherited from class AbstractApplication
getApplication, init, onManagementStopped, postStart, preStart, restart, setApplication, setParent, start, stop
 
Methods inherited from class AbstractEntity
addChild, addChild, addEnricher, addGroup, addLocations, addPolicy, clearLocations, clearParent, configure, configure, configure, configure, configure, configure, destroy, emit, emitInternal, equals, finalize, firstLocation, getAllAttributes, getAllConfig, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityManager, getEntityType, getEntityTypeName, getExecutionContext, getGroups, getIconUrl, getId, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getSubscriptionTracker, hashCode, init, invalidateReferences, invoke, invoke, invoke, isLegacyConstruction, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeLocations, removePolicy, setApplication, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setConfigIfValNonNull, setConfigIfValNonNull, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, toStringHelper, unsubscribe, unsubscribe
 

Field Detail

WAR_PATH

public static final java.lang.String WAR_PATH


 
Constructor Detail

WebFabricWithHadoopExample

public WebFabricWithHadoopExample()


 
Method Detail

init

StringConfigMap config = getManagementContext().getConfig();
public void init()


main

public static void main(java.lang.String[] argv)


start

},
public void start(java.util.Collection locations)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.