Github user mccheah commented on a diff in the pull request:
https://github.com/apache/spark/pull/8007#discussion_r38600072
--- Diff: core/src/main/scala/org/apache/spark/TaskEndReason.scala ---
@@ -31,14 +31,18 @@ import org.apache.spark.util.Utils
* old stages to be resubmitted, such as shuffle map fetch failures.
*/
@DeveloperApi
-sealed trait TaskEndReason
+sealed trait TaskEndReason {
+ def shouldTaskEndEventuallyFailJob: Boolean
--- End diff --
Methods in the scheduler code only get instances of TaskEndReason, not
specifically TaskFailedReason. Although I suppose we could do case matching /
casting to appropriately handle where it's important.
---
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]