|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.jobhistory.TaskAttemptUnsuccessfulCompletionEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class TaskAttemptUnsuccessfulCompletionEvent
Event to record unsuccessful (Killed/Failed) completion of task attempts
| Constructor Summary | |
|---|---|
TaskAttemptUnsuccessfulCompletionEvent(TaskAttemptID id,
TaskType taskType,
String status,
long finishTime,
String hostname,
int port,
String rackName,
String error,
int[][] allSplits)
Create an event to record the unsuccessful completion of attempts |
|
TaskAttemptUnsuccessfulCompletionEvent(TaskAttemptID id,
TaskType taskType,
String status,
long finishTime,
String hostname,
String error)
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 to record the unsuccessful completion of attempts |
|
| Method Summary | |
|---|---|
int[] |
getClockSplits()
|
int[] |
getCpuUsages()
|
Object |
getDatum()
Return the Avro datum wrapped by this. |
String |
getError()
Get the error string |
EventType |
getEventType()
Get the event type |
long |
getFinishTime()
Get the finish time |
String |
getHostname()
Get the name of the host where the attempt executed |
int[] |
getPhysMemKbytes()
|
int |
getPort()
Get the rpc port for the host where the attempt executed |
String |
getRackName()
Get the rack name of the node where the attempt ran |
TaskAttemptID |
getTaskAttemptId()
Get the attempt id |
TaskID |
getTaskId()
Get the task id |
String |
getTaskStatus()
Get the task status |
TaskType |
getTaskType()
Get the task type |
int[] |
getVMemKbytes()
|
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 TaskAttemptUnsuccessfulCompletionEvent(TaskAttemptID id,
TaskType taskType,
String status,
long finishTime,
String hostname,
int port,
String rackName,
String error,
int[][] allSplits)
id - Attempt IDtaskType - Type of the taskstatus - Status of the attemptfinishTime - Finish time of the attempthostname - Name of the host where the attempt executedport - rpc port for for the trackerrackName - Name of the rack where the attempt executederror - Error stringallSplits - 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.
public TaskAttemptUnsuccessfulCompletionEvent(TaskAttemptID id,
TaskType taskType,
String status,
long finishTime,
String hostname,
String error)
ProgressSplitsBlock
for an explanation of the meaning of that parameter.
Create an event to record the unsuccessful completion of attempts
id - Attempt IDtaskType - Type of the taskstatus - Status of the attemptfinishTime - Finish time of the attempthostname - Name of the host where the attempt executederror - Error string| Method Detail |
|---|
public Object getDatum()
HistoryEvent
getDatum in interface HistoryEventpublic void setDatum(Object datum)
HistoryEvent
setDatum in interface HistoryEventpublic TaskID getTaskId()
public TaskType getTaskType()
public TaskAttemptID getTaskAttemptId()
public long getFinishTime()
public String getHostname()
public int getPort()
public String getRackName()
public String getError()
public String getTaskStatus()
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 | |||||||||