Package org.apache.spark.status
Class LiveTask
Object
org.apache.spark.status.LiveTask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionscala.Option<String>
info()
long
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)
-
Constructor Details
-
LiveTask
-
-
Method Details
-
errorMessage
-
info
-
updateMetrics
Update the metrics for the task and return the difference between the previous and new values.- Parameters:
metrics
- (undocumented)- Returns:
- (undocumented)
-
lastWriteTime
public long lastWriteTime() -
write
public void write(org.apache.spark.status.ElementTrackingStore store, long now, boolean checkTriggers)
-