public class MapAttemptFinishedEvent extends Object implements HistoryEvent
构造器和说明 |
---|
MapAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long mapFinishTime,
long finishTime,
String hostname,
String state,
Counters counters)
Create an event for successful completion of map attempts
|
限定符和类型 | 方法和说明 |
---|---|
TaskAttemptID |
getAttemptId()
Get the attempt id
|
JhCounters |
getCounters()
Get the counters
|
EventType |
getEventType()
Get the event type
|
long |
getFinishTime()
Get the attempt finish time
|
String |
getHostname()
Get the host name
|
long |
getMapFinishTime()
Get the map phase finish time
|
String |
getState()
Get the state string
|
TaskID |
getTaskId()
Get the task ID
|
String |
getTaskStatus()
Get the task status
|
TaskType |
getTaskType()
Get the task type
|
public MapAttemptFinishedEvent(TaskAttemptID id, TaskType taskType, String taskStatus, long mapFinishTime, long finishTime, String hostname, String state, Counters counters)
id
- Task Attempt IDtaskType
- Type of the tasktaskStatus
- Status of the taskmapFinishTime
- Finish time of the map phasefinishTime
- Finish time of the attempthostname
- Name of the host where the map executedstate
- State string for the attemptcounters
- Counters for the attemptpublic TaskID getTaskId()
public TaskAttemptID getAttemptId()
public TaskType getTaskType()
public String getTaskStatus()
public long getMapFinishTime()
public long getFinishTime()
public String getHostname()
public String getState()
public JhCounters getCounters()
public EventType getEventType()
getEventType
在接口中 HistoryEvent
Copyright © 2009 The Apache Software Foundation