Github user tgravescs commented on the pull request:

    https://github.com/apache/spark/pull/5663#issuecomment-96671689
  
    @SaintBacchus, what is the exact behavior with this patch? Looking at the 
client code it appears that is there is network issue at all it will fail and 
kill the application.  I don't think that is what we want here.  If there is 
very temporary network glitch it could kill it even though if you waited a 
couple seconds it would be fine.   In the very least we should have a certain 
number of retries.
    
    Also note that monitorApplication is used in both client and cluster modes. 
 Cluster mode nothing is running on the gateway so we don't care if it loses 
network temporarily and it won't actually affect the running application so 
here we would be returning something saying the application is killed when we 
don't really know that.


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