[SPARK-29323][WEBUI] Add tooltip for The Executors Tab's column names in the Spark history server Page#25994
[SPARK-29323][WEBUI] Add tooltip for The Executors Tab's column names in the Spark history server Page#25994liucht-inspur wants to merge 3 commits intoapache:masterfrom liucht-inspur:master
Conversation
RDD Blocks, Disk Used,Cores, Activity Tasks, Failed Tasks , Complete
Tasks, Total Tasks in the history server Page.
Before:
<th>RDD Blocks</th>
<th>Disk Used</th>
<th>Cores</th>
<th>Active Tasks</th>
<th>Failed Tasks</th>
<th>Complete Tasks</th>
<th>Total Tasks</th>
After:
<th><span data-toggle="tooltip" data-placement="top" title="RDD
Blocks">RDD Blocks</span></th>
<th><span data-toggle="tooltip" data-placement="top" title="Disk
Used">Disk Used</span></th>
<th><span data-toggle="tooltip" data-placement="top"
title="Cores">Cores</span></th>
<th><span data-toggle="tooltip" data-placement="top" title="Active
Tasks">Active Tasks</span></th>
<th><span data-toggle="tooltip" data-placement="top" title="Failed
Tasks">Failed Tasks</span></th>
<th><span data-toggle="tooltip" data-placement="top" title="Complete
Tasks">Complete Tasks</span></th>
<th><span data-toggle="tooltip" data-placement="top" title="Total
Tasks">Total Tasks</span></th>
### Why are the changes needed?
the spark Executors of history Tab page, the Summary part shows
the line in the list of title, but format is irregular.
Some column names have tooltip, such as Storage Memory, Task
Time(GC Time), Input, Shuffle Read,
Shuffle Write and Blacklisted, but there are still some list
names that have not tooltip. They are RDD Blocks, Disk
Used,Cores, Activity Tasks, Failed Tasks , Complete Tasks and
Total Tasks. oddly, Executors section below,All the column names
Contains the column names above have tooltip .
It's important for open source projects to have consistent style
and user-friendly UI, and I'm working on keeping it consistent
And more user-friendly.
### Does this PR introduce any user-facing change?
No.
### How was this patch tested?
Manual tests for Chrome, Firefox and Safari
Authored-by: liucht-inspur <liucht@inspur.com>
Signed-off-by: liucht-inspur <liucht@inspur.com>
|
Where does the tooltip text come from? I'm missing that part. |
|
@srowen They come from the same column names in the Executors like that under the red line: |
The same text Like the Executors' column names have tooltip |
|
I mean, what text would the tooltip now show for the additional columns? |
@srowen Before modification |
|
I don't think that answers the question. What is the new tooltip that appears on what columns? |
Hello @srowen , I had screenshots and added comments, hope they are valuable to you,thanks! |
|
@srowen My change is that |
|
What is the point of the tooltip then? it just repeats the column name. |
@srowen It's important for open source projects to have consistent style and user-friendly UI, and I'm working on keeping it consistent And more user-friendly. |
|
Hm, no I don't think that adds anything to user-friendliness. It's just a redundant popup. If you made the tooltips meaningful, maybe so. |
|
So, can you give some suggestions about the tootip text? |
@srowen I think it's necessary to be consistent in any case. |
|
I don't think there's much meaningful to say in a tooltip here, so no I just wouldn't make this change. |
|
@srowen For the same problem, I suggest adding more information in the columns of tooltip Active Tasks and Failed Tasks, because these two columns have different background colors, such as blue, red, and white, and they have different transparency, which is really confusing, what do you think? |
|
Yes, explaining the colors would be a reasonable role for a tooltip. |
… colors and color opacity
|
@srowen ok,thank you ! I have finished this change, two changes: after: added tooltip for Active Tasks and Failed Tasks ,the titles are 2、in Executors after: added more information for tooltip Please help to review this change,thanks. |
| <th>Cores</th> | ||
| <th>Active Tasks</th> | ||
| <th>Failed Tasks</th> | ||
| <th><span data-toggle="tooltip" data-placement="top" title="Active Tasks show in shaded blue. % of color opacity range from 0 to maxTasks.">Active Tasks</span></th> |
There was a problem hiding this comment.
I don't think 'maxTasks' is meaningful to a user, and it's already clear it's blue. How about more like:
"Number of tasks currently executing. Darker shading highlights executors with more active tasks."
| <th>Active Tasks</th> | ||
| <th>Failed Tasks</th> | ||
| <th><span data-toggle="tooltip" data-placement="top" title="Active Tasks show in shaded blue. % of color opacity range from 0 to maxTasks.">Active Tasks</span></th> | ||
| <th><span data-toggle="tooltip" data-placement="top" title="Failed Tasks show in shaded red. Color opacity reach max at 10% of Total Tasks.">Failed Tasks</span></th> |
There was a problem hiding this comment.
Likewise, maybe:
"Number of tasks that have failed on this executor. Darker shading highlights executors with a high proportion of failed tasks."
There was a problem hiding this comment.
Yes, they are more suitable,thank you!
|
@srowen Thanks again, I have finished the change. |
|
We'll have to wait for Jenkins to come back, to evaluate this with tests, but I'm sure it will be OK. |
|
cc @wangyum We are waiting for spark's Jenkins to test,can you help to authorize please? |
|
Sorry @liucht-inspur This has nothing to do with authorization: |
|
Ok, I see. We will wait quietly. Thank you all! |
|
retest this please |
|
Test build #111957 has finished for PR 25994 at commit
|
|
retest this please |
|
Test build #111968 has finished for PR 25994 at commit
|
|
Merged to master |
|
@liucht-inspur Did u handle the tooltip for the Live UI Page for Spark. |
Yeah, exactly |






What changes were proposed in this pull request?
This PR is Adding tooltip for The Executors Tab's column names include RDD Blocks, Disk Used,Cores, Activity Tasks, Failed Tasks , Complete Tasks, Total Tasks in the history server Page.
https://issues.apache.org/jira/browse/SPARK-29323
I have modify the following code in executorspage-template.html
RDD Blocks Disk Used Cores Active Tasks Failed Tasks Complete Tasks Total TasksBefore:
After:
RDD Blocks Disk Used Cores Active Tasks Failed Tasks Complete Tasks Total TasksWhy are the changes needed?
the spark Executors of history Tab page, the Summary part shows the line in the list of title, but format is irregular.
Some column names have tooltip, such as Storage Memory, Task Time(GC Time), Input, Shuffle Read,
Shuffle Write and Blacklisted, but there are still some list names that have not tooltip. They are RDD Blocks, Disk Used,Cores, Activity Tasks, Failed Tasks , Complete Tasks and Total Tasks. oddly, Executors section below,All the column names Contains the column names above have tooltip .
It's important for open source projects to have consistent style and user-friendly UI, and I'm working on keeping it consistent And more user-friendly.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manual tests for Chrome, Firefox and Safari
Authored-by: liucht-inspur liucht@inspur.com
Signed-off-by: liucht-inspur liucht@inspur.com