Package org.apache.spark
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 SummaryConstructorsConstructorDescriptionExecutorLostFailure(String execId, boolean exitCausedByApp, scala.Option<String> reason) 
- 
Method SummaryModifier and TypeMethodDescriptionabstract static Rapply(T1 v1, T2 v2, T3 v3) booleanWhether this task failure should be counted towards the maximum number of times the task is allowed to fail before the stage is aborted.execId()booleanscala.Option<String>reason()Error message displayed in the web UI.static StringtoString()Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
ExecutorLostFailure
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1, T2 v2, T3 v3) 
- 
toString
- 
execId
- 
exitCausedByApppublic boolean exitCausedByApp()
- 
reason
- 
toErrorStringDescription copied from interface:TaskFailedReasonError message displayed in the web UI.- Specified by:
- toErrorStringin interface- TaskFailedReason
 
- 
countTowardsTaskFailurespublic boolean countTowardsTaskFailures()Description copied from interface:TaskFailedReasonWhether 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:
- countTowardsTaskFailuresin interface- TaskFailedReason
- Returns:
- (undocumented)
 
 
-