public class TaskInfo
extends java.lang.Object
Constructor and Description |
---|
TaskInfo(long taskId,
int index,
int attemptNumber,
long launchTime,
java.lang.String executorId,
java.lang.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() |
java.lang.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.
|
java.lang.String |
host() |
java.lang.String |
id() |
int |
index() |
long |
launchTime() |
boolean |
running() |
boolean |
speculative() |
java.lang.String |
status() |
boolean |
successful() |
long |
taskId() |
scala.Enumeration.Value |
taskLocality() |
public TaskInfo(long taskId, int index, int attemptNumber, long launchTime, java.lang.String executorId, java.lang.String host, scala.Enumeration.Value taskLocality, boolean speculative)
public long taskId()
public int index()
public int attemptNumber()
public long launchTime()
public java.lang.String executorId()
public java.lang.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 gettingResult()
public boolean finished()
public boolean successful()
public boolean running()
public java.lang.String status()
public java.lang.String id()
public long duration()