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

    https://github.com/apache/spark/pull/14931#discussion_r77746289
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/cluster/StandaloneSchedulerBackend.scala
 ---
    @@ -153,7 +153,7 @@ private[spark] class StandaloneSchedulerBackend(
       override def executorRemoved(fullId: String, message: String, 
exitStatus: Option[Int]) {
         val reason: ExecutorLossReason = exitStatus match {
           case Some(code) => ExecutorExited(code, exitCausedByApp = true, 
message)
    -      case None => SlaveLost(message)
    +      case None => SlaveLost(message, workerLost = true /* worker loss 
event from master */)
    --- End diff --
    
    Went with propagating just `workerLost` explicitly all the way from the 
master, since ExecutorState is private to deploy.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to