This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new ebf8da12d12f [SPARK-48927][CORE] Show the number of cached RDDs in 
`StoragePage`
ebf8da12d12f is described below

commit ebf8da12d12f568ec907483c9aa7cf30e5bf2903
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Jul 17 12:54:10 2024 -0700

    [SPARK-48927][CORE] Show the number of cached RDDs in `StoragePage`
    
    ### What changes were proposed in this pull request?
    
    This PR aims to show the number of cached RDDs in `StoragePage` like the 
other `Jobs` page or `Stages` page.
    
    ### Why are the changes needed?
    
    To improve the UX by providing additional summary information in a 
consistent way.
    
    **BEFORE**
    
    ![Screenshot 2024-07-17 at 09 46 
44](https://github.com/user-attachments/assets/3e57bf91-e97d-404d-aeda-159ab9cb65e3)
    
    **AFTER**
    
    ![Screenshot 2024-07-17 at 09 46 
01](https://github.com/user-attachments/assets/d416ea16-8255-48d8-ade4-624dcac8f46e)
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manual review.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #47390 from dongjoon-hyun/SPARK-48927.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 core/src/main/scala/org/apache/spark/ui/storage/StoragePage.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/scala/org/apache/spark/ui/storage/StoragePage.scala 
b/core/src/main/scala/org/apache/spark/ui/storage/StoragePage.scala
index 23d95560243d..4713dc5fc304 100644
--- a/core/src/main/scala/org/apache/spark/ui/storage/StoragePage.scala
+++ b/core/src/main/scala/org/apache/spark/ui/storage/StoragePage.scala
@@ -49,7 +49,7 @@ private[ui] class StoragePage(parent: SparkUITab, store: 
AppStatusStore) extends
             
onClick="collapseTable('collapse-aggregated-rdds','aggregated-rdds')">
           <h4>
             <span class="collapse-table-arrow arrow-open"></span>
-            <a>RDDs</a>
+            <a>RDDs ({rdds.length})</a>
           </h4>
         </span>
         <div class="aggregated-rdds collapsible-table">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to