-
- Downloads
[SPARK-2384] Add tooltips to UI.
This patch adds tooltips to clarify some points of confusion in the UI. When users mouse over some of the table headers (shuffle read, write, and input size) as well as over the "scheduler delay" metric shown for each stage, a black tool tip (see image below) pops up describing the metric in more detail. After the tooltip mechanism is added by this commit, I imagine others may want to add more tooltips for other things in the UI, but I think this is a good starting point.  This looks scary-big but much of it is adding the bootstrap tool tip JavaScript. Also I have no idea what to put for the license in tooltip (I left it the same -- the Twitter apache header) or for JQuery (left it as nothing) -- @mateiz what's the right thing here? cc @pwendell @andrewor14 @rxin Author: Kay Ousterhout <kayousterhout@gmail.com> Closes #1314 from kayousterhout/tooltips and squashes the following commits: 19981b5 [Kay Ousterhout] Exclude non-licensed javascript files from style check d9ab5a9 [Kay Ousterhout] Response to Andrew's review 7752449 [Kay Ousterhout] [SPARK-2384] Add tooltips to UI.
Showing
- .rat-excludes 2 additions, 0 deletions.rat-excludes
- core/src/main/resources/org/apache/spark/ui/static/bootstrap-tooltip.js 288 additions, 0 deletions...resources/org/apache/spark/ui/static/bootstrap-tooltip.js
- core/src/main/resources/org/apache/spark/ui/static/initialize-tooltips.js 21 additions, 0 deletions...sources/org/apache/spark/ui/static/initialize-tooltips.js
- core/src/main/resources/org/apache/spark/ui/static/jquery-1.11.1.min.js 4 additions, 0 deletions...resources/org/apache/spark/ui/static/jquery-1.11.1.min.js
- core/src/main/resources/org/apache/spark/ui/static/webui.css 5 additions, 0 deletionscore/src/main/resources/org/apache/spark/ui/static/webui.css
- core/src/main/scala/org/apache/spark/ui/ToolTips.scala 34 additions, 0 deletionscore/src/main/scala/org/apache/spark/ui/ToolTips.scala
- core/src/main/scala/org/apache/spark/ui/UIUtils.scala 18 additions, 14 deletionscore/src/main/scala/org/apache/spark/ui/UIUtils.scala
- core/src/main/scala/org/apache/spark/ui/exec/ExecutorsPage.scala 83 additions, 53 deletions...c/main/scala/org/apache/spark/ui/exec/ExecutorsPage.scala
- core/src/main/scala/org/apache/spark/ui/jobs/ExecutorTable.scala 5 additions, 5 deletions...c/main/scala/org/apache/spark/ui/jobs/ExecutorTable.scala
- core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala 20 additions, 17 deletionscore/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala
- core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala 11 additions, 4 deletions.../src/main/scala/org/apache/spark/ui/jobs/StageTable.scala
Loading
Please register or sign in to comment