Brooklyn

brooklyn.extras.whirr
[Groovy] Class WebFabricWithHadoopExample

java.lang.Object
  groovy.lang.GroovyObjectSupport
      brooklyn.entity.basic.AbstractEntity
          brooklyn.entity.basic.AbstractApplication
              brooklyn.extras.whirr.WebFabricWithHadoopExample

@InheritConstructors
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
LOG, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, application, attributesInternal, configsInternal, execution, managementContext, managementData, subscription, tempWorkings
 
Property Summary
static java.util.List DEFAULT_LOCATIONS

static BrooklynProperties config

GeoscalingDnsService geoDns

WhirrHadoopCluster hadoopCluster

DynamicFabric webFabric

DynamicGroup webVms

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

void start(java.util.Collection locations)

 
Methods inherited from class AbstractApplication
getManagementContext, hasManagementContext, isDeployed, postStart, preStart, restart, setManagementContext, start, stop
 
Methods inherited from class AbstractEntity
addEnricher, addGroup, addOwnedChild, addPolicy, assertNotYetOwned, clearOwner, configure, configure, destroy, emit, emitInternal, firstLocation, getAllConfig, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getConfig, getConfig, getConfig, getConfig, getConfigMap, getEffector, getEnrichers, getEntityType, getExecutionContext, getGroups, getLocations, getManagementContext, getMutableEntityType, getOwnedChildren, getOwner, getPolicies, getSubscriptionContext, getSubscriptionTracker, hasEverBeenManaged, invalidate, invoke, invoke, invokeFromJava, invokeMethod, onManagementBecomingMaster, onManagementNoLongerMaster, refreshInheritedConfig, refreshInheritedConfigOfChildren, removeAllEnrichers, removeAllPolicies, removeAttribute, removeEnricher, removeOwnedChild, removePolicy, setApplication, setAttribute, setAttribute, setBeingManaged, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setConfigIfValNonNull, setConfigIfValNonNull, setOwner, subscribe, subscribeToChildren, subscribeToMembers, toString, toStringFieldsToInclude, unsubscribe, unsubscribe
 
Methods inherited from class groovy.lang.GroovyObjectSupport
groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll()
 

Field Detail

WAR_PATH

public static final java.lang.String WAR_PATH


 
Property Detail

DEFAULT_LOCATIONS

static final java.util.List DEFAULT_LOCATIONS


config

static BrooklynProperties config


geoDns

GeoscalingDnsService geoDns


hadoopCluster

WhirrHadoopCluster hadoopCluster


webFabric

DynamicFabric webFabric


webVms

DynamicGroup webVms


 
Method Detail

main

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


start

void start(java.util.Collection locations)


 

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