public class LiveTask
extends Object
Constructor and Description |
---|
LiveTask(TaskInfo info,
int stageId,
int stageAttemptId,
scala.Option<Object> lastUpdateTime) |
Modifier and Type | Method and Description |
---|---|
scala.Option<String> |
errorMessage() |
TaskInfo |
info() |
long |
lastWriteTime() |
TaskMetrics |
updateMetrics(org.apache.spark.executor.TaskMetrics metrics)
Update the metrics for the task and return the difference between the previous and new
values.
|
void |
write(org.apache.spark.status.ElementTrackingStore store,
long now,
boolean checkTriggers) |
public LiveTask(TaskInfo info, int stageId, int stageAttemptId, scala.Option<Object> lastUpdateTime)
public TaskInfo info()
public scala.Option<String> errorMessage()
public TaskMetrics updateMetrics(org.apache.spark.executor.TaskMetrics metrics)
metrics
- (undocumented)public long lastWriteTime()
public void write(org.apache.spark.status.ElementTrackingStore store, long now, boolean checkTriggers)