Github user pgandhi999 commented on a diff in the pull request:
https://github.com/apache/spark/pull/18707#discussion_r130128171
--- Diff: core/src/main/scala/org/apache/spark/ui/exec/ExecutorsTab.scala
---
@@ -138,10 +138,12 @@ class ExecutorsListener(storageStatusListener:
StorageStatusListener, conf: Spar
// could have failed half-way through. The correct fix would be
to keep track of the
// metrics added by each attempt, but this is much more
complicated.
return
- case _: ExceptionFailure =>
- taskSummary.tasksFailed += 1
case _ =>
- taskSummary.tasksComplete += 1
+ }
+ if (info.successful) {
+ taskSummary.tasksComplete += 1
+ } else {
+ taskSummary.tasksFailed += 1
--- End diff --
I went through the list of possible task failure reasons, and I found
info.successful to be updated for all except Resubmitted case. If you think
there is a possibility of any other reason that has been overlooked by me, do
let me know.
---
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]