Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/22341#discussion_r216523824
--- Diff: core/src/main/scala/org/apache/spark/status/LiveEntity.scala ---
@@ -538,6 +538,14 @@ private class LiveRDD(val info: RDDInfo) extends
LiveEntity {
distributions.get(exec.executorId)
}
+ def getPartitions(): Map[String, LiveRDDPartition] = {
+ partitions.toMap
--- End diff --
Sure, it's an internal API. Listener code needs to avoid doing unnecessary
things like copying stuff to avoid issues with dropping events.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]