LuciferYang commented on PR #2772: URL: https://github.com/apache/uniffle/pull/2772#issuecomment-5087534412
### End-to-end UI verification on a real Spark 4.2.0 cluster Beyond the automated build/tests, I verified the Uniffle Spark UI tab end-to-end against a real Spark 4.2.0 distribution with a local Uniffle cluster (coordinator + shuffle server). A shuffle job was run through `RssShuffleManager` with `spark.plugins=org.apache.spark.UnifflePlugin`, then the Uniffle tab was driven with a headless browser. This also surfaced and fixed a Spark 4.2-specific UI regression: `ShufflePage` relied on the global `collapseTable()` that Spark 3.x/4.0/4.1 ship in `webui.js`, which **Spark 4.2 removed** (its own pages moved to Bootstrap 5 `data-bs-toggle` collapse). Without the fix in this PR, clicking a section header threw `collapseTable is not defined` and no section could be expanded. The fix inlines a fallback that defines a compatible `collapseTable` only when the host Spark didn't provide one (so 3.x/4.0/4.1 keep Spark's implementation). **Uniffle tab — sections expanded (Build Info / Shuffle Server / Assignment):**  The footer shows `4.2.0`; the expanded tables show `Version 0.11.0-SNAPSHOT`, the shuffle server id / write+read bytes, and the per-shuffle assignment — confirming the listener collected real shuffle stats and the `jakarta` servlet variant renders correctly on 4.2. No page JS errors. **Uniffle tab — default (collapsed) view:**  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
