public class TaskInfo
extends Object
Constructor and Description |
---|
TaskInfo(long taskId,
int index,
int attempt,
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 |
attempt() |
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() |
long |
launchTime() |
void |
markFailed(long time) |
void |
markGettingResult(long time) |
void |
markSuccessful(long time) |
boolean |
running() |
boolean |
speculative() |
String |
status() |
boolean |
successful() |
long |
taskId() |
scala.Enumeration.Value |
taskLocality() |
long |
timeRunning(long currentTime) |
public TaskInfo(long taskId, int index, int attempt, long launchTime, String executorId, String host, scala.Enumeration.Value taskLocality, boolean speculative)
public long taskId()
public int index()
public int attempt()
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 void markGettingResult(long time)
public void markSuccessful(long time)
public void markFailed(long time)
public boolean gettingResult()
public boolean finished()
public boolean successful()
public boolean running()
public String status()
public String id()
public long duration()
public long timeRunning(long currentTime)