public class JobUnsuccessfulCompletionEvent extends Object implements HistoryEvent
| 构造器和说明 |
|---|
JobUnsuccessfulCompletionEvent(JobID id,
long finishTime,
int finishedMaps,
int finishedReduces,
String status)
Create an event to record unsuccessful completion (killed/failed) of jobs
|
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
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 jobpublic JobID getJobId()
public long getFinishTime()
public int getFinishedMaps()
public int getFinishedReduces()
public String getStatus()
public EventType getEventType()
getEventType 在接口中 HistoryEventCopyright © 2009 The Apache Software Foundation