Package org.apache.spark
Interface TaskFailedReason
- All Superinterfaces:
TaskEndReason
- All Known Implementing Classes:
ExceptionFailure
,ExecutorLostFailure
,FetchFailed
,TaskCommitDenied
,TaskKilled
:: DeveloperApi ::
Various possible reasons why a task failed.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether this task failure should be counted towards the maximum number of times the task is allowed to fail before the stage is aborted.Error message displayed in the web UI.
-
Method Details
-
countTowardsTaskFailures
boolean countTowardsTaskFailures()Whether this task failure should be counted towards the maximum number of times the task is allowed to fail before the stage is aborted. Set to false in cases where the task's failure was unrelated to the task; for example, if the task failed because the executor it was running on was killed.- Returns:
- (undocumented)
-
toErrorString
String toErrorString()Error message displayed in the web UI.
-