|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.jobhistory.MapAttemptFinishedEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class MapAttemptFinishedEvent
Event to record successful completion of a map attempt
| Constructor Summary | |
|---|---|
MapAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long mapFinishTime,
long finishTime,
String hostname,
int port,
String rackName,
String state,
Counters counters,
int[][] allSplits)
Create an event for successful completion of map attempts |
|
MapAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long mapFinishTime,
long finishTime,
String hostname,
String state,
Counters counters)
Deprecated. please use the constructor with an additional argument, an array of splits arrays instead. See ProgressSplitsBlock
for an explanation of the meaning of that parameter.
Create an event for successful completion of map attempts |
|
| Method Summary | |
|---|---|
TaskAttemptID |
getAttemptId()
Get the attempt id |
int[] |
getClockSplits()
|
int[] |
getCpuUsages()
|
Object |
getDatum()
Return the Avro datum wrapped by this. |
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 |
int[] |
getPhysMemKbytes()
|
int |
getPort()
Get the tracker rpc port |
String |
getRackName()
Get the rack name |
String |
getState()
Get the state string |
TaskID |
getTaskId()
Get the task ID |
String |
getTaskStatus()
Get the task status |
TaskType |
getTaskType()
Get the task type |
int[] |
getVMemKbytes()
|
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 MapAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long mapFinishTime,
long finishTime,
String hostname,
int port,
String rackName,
String state,
Counters counters,
int[][] allSplits)
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 executedport - RPC port for the tracker host.rackName - Name of the rack where the map executedstate - State string for the attemptcounters - Counters for the attemptallSplits - the "splits", or a pixelated graph of various
measurable worker node state variables against progress.
Currently there are four; wallclock time, CPU time,
virtual memory and physical memory.
If you have no splits data, code null for this
parameter.
@Deprecated
public MapAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long mapFinishTime,
long finishTime,
String hostname,
String state,
Counters counters)
ProgressSplitsBlock
for an explanation of the meaning of that parameter.
Create an event for successful completion of map attempts
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 attempt| Method Detail |
|---|
public Object getDatum()
HistoryEvent
getDatum in interface HistoryEventpublic void setDatum(Object oDatum)
HistoryEvent
setDatum in interface HistoryEventpublic TaskID getTaskId()
public TaskAttemptID getAttemptId()
public TaskType getTaskType()
public String getTaskStatus()
public long getMapFinishTime()
public long getFinishTime()
public String getHostname()
public int getPort()
public String getRackName()
public String getState()
public EventType getEventType()
getEventType in interface HistoryEventpublic int[] getClockSplits()
public int[] getCpuUsages()
public int[] getVMemKbytes()
public int[] getPhysMemKbytes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||