Class ExecutorLostFailure

Object
org.apache.spark.ExecutorLostFailure
All Implemented Interfaces:
Serializable, TaskEndReason, TaskFailedReason, scala.Equals, scala.Product

public class ExecutorLostFailure extends Object implements TaskFailedReason, scala.Product, Serializable
:: DeveloperApi :: The task failed because the executor that it was running on was lost. This may happen because the task crashed the JVM.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExecutorLostFailure(String execId, boolean exitCausedByApp, scala.Option<String> reason)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2, T3 v3)
     
    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.
     
    boolean
     
    scala.Option<String>
     
    Error message displayed in the web UI.
    static String
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • ExecutorLostFailure

      public ExecutorLostFailure(String execId, boolean exitCausedByApp, scala.Option<String> reason)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2, T3 v3)
    • toString

      public static String toString()
    • execId

      public String execId()
    • exitCausedByApp

      public boolean exitCausedByApp()
    • reason

      public scala.Option<String> reason()
    • toErrorString

      public String toErrorString()
      Description copied from interface: TaskFailedReason
      Error message displayed in the web UI.
      Specified by:
      toErrorString in interface TaskFailedReason
    • countTowardsTaskFailures

      public boolean countTowardsTaskFailures()
      Description copied from interface: TaskFailedReason
      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.
      Specified by:
      countTowardsTaskFailures in interface TaskFailedReason
      Returns:
      (undocumented)