Github user tdas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6672#discussion_r32880590
  
    --- Diff: core/src/main/scala/org/apache/spark/ui/storage/StoragePage.scala 
---
    @@ -30,11 +30,32 @@ private[ui] class StoragePage(parent: StorageTab) 
extends WebUIPage("") {
       private val listener = parent.listener
     
       def render(request: HttpServletRequest): Seq[Node] = {
    -    val rdds = listener.rddInfoList
    -    val content = UIUtils.listingTable(rddHeader, rddRow, rdds, id = 
Some("storage-by-rdd-table"))
    +    val blocks = listener.allBlocks.sortBy(_.blockId.toString)
    +    val streamBlocks = blocks.filter(_.blockId.isInstanceOf[StreamBlockId])
    +    val broadcastBlocks = 
blocks.filter(_.blockId.isInstanceOf[BroadcastBlockId])
    +    val content = rddTable ++ blockTable("Receiver Block", streamBlocks)
         UIUtils.headerSparkPage("Storage", content, parent)
       }
     
    +  private def rddTable: Seq[Node] = {
    +    val rdds = listener.rddInfoList
    +    <div>
    +      <h4>RDD</h4>
    --- End diff --
    
    RDD --> RDDs


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to