|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.jobhistory.JobUnsuccessfulCompletionEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class JobUnsuccessfulCompletionEvent
Event to record Failed and Killed completion of jobs
| Constructor Summary | |
|---|---|
JobUnsuccessfulCompletionEvent(JobID id,
long finishTime,
int finishedMaps,
int finishedReduces,
String status)
Create an event to record unsuccessful completion (killed/failed) of jobs |
|
JobUnsuccessfulCompletionEvent(JobID id,
long finishTime,
int finishedMaps,
int finishedReduces,
String status,
Iterable<String> diagnostics)
Create an event to record unsuccessful completion (killed/failed) of jobs |
|
| Method Summary | |
|---|---|
Object |
getDatum()
Return the Avro datum wrapped by this. |
String |
getDiagnostics()
Retrieves diagnostics information preserved in the history file |
EventType |
getEventType()
Get the event type |
int |
getFinishedMaps()
Get the number of finished maps |
int |
getFinishedReduces()
Get the number of finished reduces |
long |
getFinishTime()
Get the job finish time |
JobID |
getJobId()
Get the Job ID |
String |
getStatus()
Get the status |
void |
setDatum(Object datum)
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 JobUnsuccessfulCompletionEvent(JobID id,
long finishTime,
int finishedMaps,
int finishedReduces,
String status)
id - Job IDfinishTime - Finish time of the jobfinishedMaps - Number of finished mapsfinishedReduces - Number of finished reducesstatus - Status of the job
public JobUnsuccessfulCompletionEvent(JobID id,
long finishTime,
int finishedMaps,
int finishedReduces,
String status,
Iterable<String> diagnostics)
id - Job IDfinishTime - Finish time of the jobfinishedMaps - Number of finished mapsfinishedReduces - Number of finished reducesstatus - Status of the jobdiagnostics - job runtime diagnostics| Method Detail |
|---|
public Object getDatum()
HistoryEvent
getDatum in interface HistoryEventpublic void setDatum(Object datum)
HistoryEvent
setDatum in interface HistoryEventpublic JobID getJobId()
public long getFinishTime()
public int getFinishedMaps()
public int getFinishedReduces()
public String getStatus()
public EventType getEventType()
getEventType in interface HistoryEventpublic String getDiagnostics()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||