|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.tools.rumen.TopologyBuilder
public class TopologyBuilder
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 |
---|
public TopologyBuilder()
Method Detail |
---|
public void process(org.apache.hadoop.mapreduce.jobhistory.HistoryEvent event)
HistoryEvent
event
- The HistoryEvent
to be processed.public void process(Properties conf)
Properties
. We do not restrict it
to be called once.
conf
- The job conf properties to be added.public LoggedNetworkTopology build()
TopologyBuilder
would accept no more events or job-conf properties.
LoggedNetworkTopology
object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |