Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/7431#issuecomment-122156071
  
    > I'm guessing there might be situations it doesn't recognize the 
disconnect right away.
    
    That's the only case in which this code might help; but does that really 
happen? The executor process is already gone (otherwise YARN wouldn't notify 
the AM). The disconnection message has to go through the akka queues to get to 
the destination, but so do the messages being sent here.
    
    So with this code, unless the disconnect message can somehow be lost, 
you'll always end up with that `ERROR` log, because the two code paths and sort 
of redundant.


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