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.Seq<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 scala.collection.Seq<AccumulableInfo> accumulables()
public int attemptNumber()
public long duration()
public String executorId()
public boolean failed()
public long finishTime()
public boolean finished()
public boolean gettingResult()
public long gettingResultTime()
public String host()
public String id()
public int index()
public boolean killed()
public long launchTime()
public boolean running()
public boolean speculative()
public String status()
public boolean successful()
public long taskId()
public scala.Enumeration.Value taskLocality()