|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.jobhistory.JobFinishedEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class JobFinishedEvent
Event to record successful completion of job
Constructor Summary | |
---|---|
JobFinishedEvent(JobID id,
long finishTime,
int finishedMaps,
int finishedReduces,
int failedMaps,
int failedReduces,
Counters mapCounters,
Counters reduceCounters,
Counters totalCounters)
Create an event to record successful job completion |
Method Summary | |
---|---|
Object |
getDatum()
Return the Avro datum wrapped by this. |
EventType |
getEventType()
Return this event's type. |
int |
getFailedMaps()
Get the number of failed maps for the job |
int |
getFailedReduces()
Get the number of failed reducers for the job |
int |
getFinishedMaps()
Get the number of finished maps for the job |
int |
getFinishedReduces()
Get the number of finished reducers for the job |
long |
getFinishTime()
Get the job finish time |
JobID |
getJobid()
Get the Job ID |
Counters |
getMapCounters()
Get the Map counters for the job |
Counters |
getReduceCounters()
Get the reduce counters for the job |
Counters |
getTotalCounters()
Get the counters for the job |
void |
setDatum(Object oDatum)
Set the Avro datum wrapped by this. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobFinishedEvent(JobID id, long finishTime, int finishedMaps, int finishedReduces, int failedMaps, int failedReduces, Counters mapCounters, Counters reduceCounters, Counters totalCounters)
id
- Job IDfinishTime
- Finish time of the jobfinishedMaps
- The number of finished mapsfinishedReduces
- The number of finished reducesfailedMaps
- The number of failed mapsfailedReduces
- The number of failed reducesmapCounters
- Map Counters for the jobreduceCounters
- Reduce Counters for the jobtotalCounters
- Total Counters for the jobMethod Detail |
---|
public Object getDatum()
HistoryEvent
getDatum
in interface HistoryEvent
public void setDatum(Object oDatum)
HistoryEvent
setDatum
in interface HistoryEvent
public EventType getEventType()
HistoryEvent
getEventType
in interface HistoryEvent
public JobID getJobid()
public long getFinishTime()
public int getFinishedMaps()
public int getFinishedReduces()
public int getFailedMaps()
public int getFailedReduces()
public Counters getTotalCounters()
public Counters getMapCounters()
public Counters getReduceCounters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |