public class TaskInfo
extends Object
Constructor and Description |
---|
TaskInfo(long taskId,
int index,
int attemptNumber,
long launchTime,
String executorId,
String host,
scala.Enumeration.Value taskLocality,
boolean speculative) |
Modifier and Type | Method and Description |
---|---|
scala.collection.mutable.ListBuffer<AccumulableInfo> |
accumulables()
Intermediate updates to accumulables during this task.
|
int |
attemptNumber() |
long |
duration() |
String |
executorId() |
boolean |
failed() |
boolean |
finished() |
long |
finishTime()
The time when the task has completed successfully (including the time to remotely fetch
results, if necessary).
|
boolean |
gettingResult() |
long |
gettingResultTime()
The time when the task started remotely getting the result.
|
String |
host() |
String |
id() |
int |
index()
The index of this task within its task set.
|
boolean |
killed() |
long |
launchTime() |
boolean |
running() |
boolean |
speculative() |
String |
status() |
boolean |
successful() |
long |
taskId() |
scala.Enumeration.Value |
taskLocality() |
public TaskInfo(long taskId, int index, int attemptNumber, long launchTime, String executorId, String host, scala.Enumeration.Value taskLocality, boolean speculative)
public long taskId()
public int index()
public int attemptNumber()
public long launchTime()
public String executorId()
public String host()
public scala.Enumeration.Value taskLocality()
public boolean speculative()
public long gettingResultTime()
public scala.collection.mutable.ListBuffer<AccumulableInfo> accumulables()
public long finishTime()
public boolean failed()
public boolean killed()
public boolean gettingResult()
public boolean finished()
public boolean successful()
public boolean running()
public String status()
public String id()
public long duration()