Github user vanzin commented on a diff in the pull request: https://github.com/apache/spark/pull/22341#discussion_r216513137 --- 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 -- But it makes a copy of the map, and that seems unnecessary. Of course it does not make a copy of the elements - it doesn't even know how to do that.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org