Package org.apache.spark
Class ExecutorShutdownFailure
Object
org.apache.spark.ExecutorShutdownFailure
- All Implemented Interfaces:
Serializable,TaskEndReason,TaskFailedReason,scala.Equals,scala.Product
public class ExecutorShutdownFailure
extends Object
implements TaskFailedReason, scala.Product, Serializable
:: DeveloperApi ::
The task failed because the executor's thread pool rejected it during executor shutdown.
This is not a task fault - the executor was shutting down when the task was submitted.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
ExecutorShutdownFailure
-
-
Method Details
-
apply
public abstract static R apply(T1 v1) -
toString
-
executorId
-
toErrorString
Description copied from interface:TaskFailedReasonError message displayed in the web UI.- Specified by:
toErrorStringin interfaceTaskFailedReason
-
countTowardsTaskFailures
public 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 interfaceTaskFailedReason- Returns:
- (undocumented)
-