Packages

t

org.apache.spark

TaskFailedReason

sealed trait TaskFailedReason extends TaskEndReason

Developer API

Various possible reasons why a task failed.

Annotations
@DeveloperApi()
Source
TaskEndReason.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TaskFailedReason
  2. TaskEndReason
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def toErrorString: String

    Error message displayed in the web UI.

Concrete Value Members

  1. def countTowardsTaskFailures: Boolean

    Whether this task failure should be counted towards the maximum number of times the task is allowed to fail before the stage is aborted.

    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.