public class TaskInfo
extends Object
Constructor and Description |
---|
TaskInfo(long taskId,
int index,
int attemptNumber,
int partitionId,
long launchTime,
String executorId,
String host,
scala.Enumeration.Value taskLocality,
boolean speculative) |
TaskInfo(long taskId,
int index,
int attemptNumber,
long launchTime,
String executorId,
String host,
scala.Enumeration.Value taskLocality,
boolean speculative)
This api doesn't contains partitionId, please use the new api.
|
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() |
int |
partitionId()
The actual RDD partition ID in this task.
|
boolean |
running() |
boolean |
speculative() |
String |
status() |
boolean |
successful() |
long |
taskId() |
scala.Enumeration.Value |
taskLocality() |
public TaskInfo(long taskId, int index, int attemptNumber, int partitionId, long launchTime, String executorId, String host, scala.Enumeration.Value taskLocality, boolean speculative)
public TaskInfo(long taskId, int index, int attemptNumber, long launchTime, String executorId, String host, scala.Enumeration.Value taskLocality, boolean speculative)
taskId
- (undocumented)index
- (undocumented)attemptNumber
- (undocumented)launchTime
- (undocumented)executorId
- (undocumented)host
- (undocumented)taskLocality
- (undocumented)speculative
- (undocumented)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 int partitionId()
public boolean running()
public boolean speculative()
public String status()
public boolean successful()
public long taskId()
public scala.Enumeration.Value taskLocality()