From ebf8da12d12f568ec907483c9aa7cf30e5bf2903 Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Wed, 17 Jul 2024 12:54:10 -0700 Subject: [PATCH] [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 Signed-off-by: Dongjoon Hyun --- .../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 23d95560243d8..4713dc5fc3044 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')">

- RDDs + RDDs ({rdds.length})