Github user ajbozarth commented on the issue:
https://github.com/apache/spark/pull/14673
Found a odd behavior while testing. When a application encounters an issue
(in my case my task queue filled up and SparkListenerBus was stopped) it can
cause the tasks HashMap size to be larger than the sum of completed, failed,
and active tasks (total tasks). This means that the UI can end up looking like
the following two screen shots (of the same application). If everyone can agree
this is a separate issue from this I will file a JIRA for it for later.
with `spark.ui.trimTasks` true:

with `spark.ui.trimTasks` false:

---
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]