Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/10154#discussion_r46759346
--- Diff: core/src/main/scala/org/apache/spark/ui/exec/ExecutorsPage.scala
---
@@ -128,11 +152,36 @@ private[ui] class ExecutorsPage(
<td sorttable_customkey={diskUsed.toString}>
{Utils.bytesToString(diskUsed)}
</td>
- <td>{info.activeTasks}</td>
- <td>{info.failedTasks}</td>
- <td>{info.completedTasks}</td>
+ <td style={
+ if (info.activeTasks > 0) {
+ "background:hsla(120, 100%, 25%, " + activeTasksAlpha +
");color:white"
--- End diff --
Can the `style="..."` text go inside the conditional so we don't end up
with `style=""` or does that not work in this syntax?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]