public class JobBuilder
extends java.lang.Object
JobBuilder builds one job. It processes a sequence of
HistoryEvents.| Constructor | Description |
|---|---|
JobBuilder(java.lang.String jobID) |
| Modifier and Type | Method | Description |
|---|---|---|
ParsedJob |
build() |
Request the builder to build the final object.
|
java.lang.String |
getJobID() |
|
void |
process(java.util.Properties conf) |
Process a collection of JobConf
Properties. |
void |
process(org.apache.hadoop.mapreduce.jobhistory.HistoryEvent event) |
Process one
HistoryEvent |
public java.lang.String getJobID()
public void process(org.apache.hadoop.mapreduce.jobhistory.HistoryEvent event)
HistoryEventevent - The HistoryEvent to be processed.public void process(java.util.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.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.