Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8007#discussion_r36936899
  
    --- Diff: core/src/main/scala/org/apache/spark/TaskEndReason.scala ---
    @@ -168,6 +168,23 @@ case class ExecutorLostFailure(execId: String) extends 
TaskFailedReason {
     
     /**
      * :: DeveloperApi ::
    + * The task failed because the executor that it was running on was 
prematurely terminated. The
    + * executor is forcibly exited but the exit should be considered as part 
of normal cluster
    + * behavior.
    + */
    +@DeveloperApi
    +case class ExecutorForTaskExited(
    +    taskId: Long,
    +    execId: String,
    +    exitReason: String,
    +    exitCode: Int)
    +    extends TaskFailedReason {
    +  override def toErrorString: String = s"Task with ID $taskId had its 
executor ${execId}" +
    +    s" exit normally with exit code $exitCode, due to the following 
reason: $exitReason."
    --- End diff --
    
    This is a little verbose.
    
    `exit normally with exit code $exitCode:\n $exitReason`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to