Package org.apache.spark.status
Class LiveRDD
Object
org.apache.spark.status.LiveRDD
Tracker for data related to a persisted RDD.
The RDD storage level is immutable, following the current behavior of RDD.persist()
, even
though it is mutable in the RDDInfo
structure. Since the listener does not track unpersisted
RDDs, this covers the case where an early stage is run on the unpersisted RDD, and a later stage
it started after the RDD is marked for caching.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
diskUsed()
distribution
(org.apache.spark.status.LiveExecutor exec) scala.Option<LiveRDDDistribution>
distributionOpt
(org.apache.spark.status.LiveExecutor exec) scala.collection.Map<String,
LiveRDDDistribution> scala.collection.Map<String,
LiveRDDPartition> info()
long
long
boolean
removeDistribution
(org.apache.spark.status.LiveExecutor exec) void
removePartition
(String blockName) void
write
(org.apache.spark.status.ElementTrackingStore store, long now, boolean checkTriggers)
-
Constructor Details
-
LiveRDD
-
-
Method Details
-
diskUsed
public long diskUsed() -
distribution
-
distributionOpt
-
getDistributions
-
getPartitions
-
info
-
memoryUsed
public long memoryUsed() -
partition
-
removeDistribution
public boolean removeDistribution(org.apache.spark.status.LiveExecutor exec) -
removePartition
-
lastWriteTime
public long lastWriteTime() -
write
public void write(org.apache.spark.status.ElementTrackingStore store, long now, boolean checkTriggers)
-