Brooklyn

brooklyn.extras.whirr.hadoop
[Groovy] Class WhirrHadoopCluster

java.lang.Object
  groovy.lang.GroovyObjectSupport
      brooklyn.entity.basic.AbstractEntity
          brooklyn.extras.whirr.core.WhirrCluster
              brooklyn.extras.whirr.hadoop.WhirrHadoopCluster

class WhirrHadoopCluster
extends WhirrCluster

Field Summary
static BasicAttributeSensor JOB_TRACKER_HOST_PORT

static BasicConfigKey MEMORY

static BasicConfigKey NAME

static BasicAttributeSensor NAME_NODE_URL

static BasicConfigKey SIZE

static BasicAttributeSensor SOCKS_SERVER

static Logger log

protected HadoopProxy proxy

 
Fields inherited from class WhirrCluster
CLUSTER_NAME, RECIPE, _controller, cluster, clusterSpec, location, log
 
Fields inherited from class AbstractEntity
LOG, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, application, attributesInternal, configsInternal, execution, managementContext, managementData, subscription, tempWorkings
 
Property Summary
java.util.List userRecipeLines

 
Constructor Summary
WhirrHadoopCluster(java.util.Map flags = [:], Entity owner = null)

 
Method Summary
void addRecipeLine(java.lang.String line)

void generateWhirrClusterRecipe()

void start(java.util.Collection locations)

void stop()

 
Methods inherited from class WhirrCluster
customizeClusterSpecConfiguration, getController, restart, start, startInLocation, startInLocation, startWithClusterSpec, 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

JOB_TRACKER_HOST_PORT

public static final BasicAttributeSensor JOB_TRACKER_HOST_PORT


MEMORY

@SetFromFlag("memory")
public static final BasicConfigKey MEMORY


NAME

@SetFromFlag("name")
public static final BasicConfigKey NAME


NAME_NODE_URL

public static final BasicAttributeSensor NAME_NODE_URL


SIZE

@SetFromFlag("size")
public static final BasicConfigKey SIZE


SOCKS_SERVER

public static final BasicAttributeSensor SOCKS_SERVER


log

public static final Logger log


proxy

protected HadoopProxy proxy


 
Property Detail

userRecipeLines

java.util.List userRecipeLines


 
Constructor Detail

WhirrHadoopCluster

WhirrHadoopCluster(java.util.Map flags = [:], Entity owner = null)


 
Method Detail

addRecipeLine

void addRecipeLine(java.lang.String line)


generateWhirrClusterRecipe

void generateWhirrClusterRecipe()


start

@Override
void start(java.util.Collection locations)


stop

@Override
void stop()


 

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