public class TaskAttemptUnsuccessfulCompletionEvent extends Object implements HistoryEvent
构造器和说明 |
---|
TaskAttemptUnsuccessfulCompletionEvent(TaskAttemptID id,
TaskType taskType,
String status,
long finishTime,
String hostname,
String error)
Create an event to record the unsuccessful completion of attempts
|
限定符和类型 | 方法和说明 |
---|---|
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
|
TaskAttemptID |
getTaskAttemptId()
Get the attempt id
|
TaskID |
getTaskId()
Get the task id
|
String |
getTaskStatus()
Get the task status
|
TaskType |
getTaskType()
Get the task type
|
public TaskAttemptUnsuccessfulCompletionEvent(TaskAttemptID id, TaskType taskType, String status, long finishTime, String hostname, String error)
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 stringpublic TaskID getTaskId()
public TaskType getTaskType()
public TaskAttemptID getTaskAttemptId()
public long getFinishTime()
public String getHostname()
public String getError()
public String getTaskStatus()
public EventType getEventType()
getEventType
在接口中 HistoryEvent
Copyright © 2009 The Apache Software Foundation