|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.tools.rumen.JobBuilder
public class JobBuilder
JobBuilder builds one job. It processes a sequence of
HistoryEvents.
| Constructor Summary | |
|---|---|
JobBuilder(String jobID)
|
|
| Method Summary | |
|---|---|
ParsedJob |
build()
Request the builder to build the final object. |
String |
getJobID()
|
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 JobBuilder(String jobID)
| Method Detail |
|---|
public String getJobID()
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. It is okay to process a conf before, during or after the
events.
conf - The job conf properties to be added.public ParsedJob build()
JobBuilder would accept no more events or job-conf properties.
ParsedJob object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||