Github user jerryshao commented on the pull request:

    https://github.com/apache/spark/pull/11512#issuecomment-194097212
  
    Thanks a lot for your comment @tgravescs , I think the scenario you 
mentioned though has race condition, it seldom happens, and currently we don't 
have solutions to handle that, since driver and AM are independent.
    
    Yes, normally we should expect scheduler throw all the exceptions, but you 
cannot expect any user code will starting a job immediately after `sc` is 
created, or exception will definitely be thrown to AM, what if main  function 
catch all the exceptions?


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