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 SummaryModifier and TypeMethodDescriptionbooleanWhether 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- 
countTowardsTaskFailuresboolean 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)
 
- 
toErrorStringString toErrorString()Error message displayed in the web UI.
 
-