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

    https://github.com/apache/spark/pull/8007#discussion_r37355811
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/cluster/YarnSchedulerBackend.scala
 ---
    @@ -144,6 +207,21 @@ private[spark] abstract class YarnSchedulerBackend(
                 context.reply(false)
             }
     
    +      case c: GetExecutorLossReason =>
    +        amEndpoint match {
    +          case Some(am) =>
    +            Future {
    +              context.reply(am.askWithRetry[Option[ExecutorLossReason]](c))
    +            } onFailure {
    +              case NonFatal(e) =>
    +                logError(s"Finding the executor loss reason was 
unsuccessful", e)
    +                context.sendFailure(e)
    +            }
    +          case None =>
    --- End diff --
    
    This is not your fault, but this is starting to get pretty noisy. We need a 
better way to do this check.


---
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