|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.apache.spark.scheduler.TaskInfo
public class TaskInfo
:: DeveloperApi :: Information about a running task attempt inside a TaskSet.
Constructor Summary | |
---|---|
TaskInfo(long taskId,
int index,
int attempt,
long launchTime,
String executorId,
String host,
scala.Enumeration.Value taskLocality,
boolean speculative)
|
Method Summary | |
---|---|
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()
|
boolean |
running()
|
boolean |
speculative()
|
String |
status()
|
boolean |
successful()
|
long |
taskId()
|
scala.Enumeration.Value |
taskLocality()
|
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskInfo(long taskId, int index, int attempt, long launchTime, String executorId, String host, scala.Enumeration.Value taskLocality, boolean speculative)
Method Detail |
---|
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 boolean gettingResult()
public boolean finished()
public boolean successful()
public boolean running()
public String status()
public String id()
public long duration()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |