@InterfaceAudience.Private @InterfaceStability.Unstable public class TaskAttemptUnsuccessfulCompletionEvent extends Object implements HistoryEvent
Constructor and Description |
---|
TaskAttemptUnsuccessfulCompletionEvent(TaskAttemptID id,
TaskType taskType,
String status,
long finishTime,
String hostname,
int port,
String rackName,
String error,
Counters counters,
int[][] allSplits)
Create an event to record the unsuccessful completion of attempts
|
TaskAttemptUnsuccessfulCompletionEvent(TaskAttemptID id,
TaskType taskType,
String status,
long finishTime,
String hostname,
int port,
String rackName,
String error,
int[][] allSplits) |
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 |
Modifier and Type | Method and Description |
---|---|
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 odatum)
Set the Avro datum wrapped by this.
|
public TaskAttemptUnsuccessfulCompletionEvent(TaskAttemptID id, TaskType taskType, String status, long finishTime, String hostname, int port, String rackName, String error, Counters counters, 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 stringcounters
- 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.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 attemptsid
- Attempt IDtaskType
- Type of the taskstatus
- Status of the attemptfinishTime
- Finish time of the attempthostname
- Name of the host where the attempt executederror
- Error stringpublic Object getDatum()
HistoryEvent
getDatum
in interface HistoryEvent
public void setDatum(Object odatum)
HistoryEvent
setDatum
in interface HistoryEvent
public 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 HistoryEvent
public int[] getClockSplits()
public int[] getCpuUsages()
public int[] getVMemKbytes()
public int[] getPhysMemKbytes()
Copyright © 2016 Apache Software Foundation. All Rights Reserved.