org.apache.hadoop.tools.rumen
Class TopologyBuilder

java.lang.Object
  extended by org.apache.hadoop.tools.rumen.TopologyBuilder

public class TopologyBuilder
extends Object

Building the cluster topology.


Constructor Summary
TopologyBuilder()
           
 
Method Summary
 LoggedNetworkTopology build()
          Request the builder to build the final object.
 void process(org.apache.hadoop.mapreduce.jobhistory.HistoryEvent event)
          Process one HistoryEvent
 void process(Properties conf)
          Process a collection of JobConf Properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopologyBuilder

public TopologyBuilder()
Method Detail

process

public void process(org.apache.hadoop.mapreduce.jobhistory.HistoryEvent event)
Process one HistoryEvent

Parameters:
event - The HistoryEvent to be processed.

process

public void process(Properties conf)
Process a collection of JobConf Properties. We do not restrict it to be called once.

Parameters:
conf - The job conf properties to be added.

build

public LoggedNetworkTopology build()
Request the builder to build the final object. Once called, the TopologyBuilder would accept no more events or job-conf properties.

Returns:
Parsed LoggedNetworkTopology object.


Copyright © 2009 The Apache Software Foundation