Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/1178#issuecomment-46914899
  
    Yes, that's what I intended.
    
    The first except is there in case stdout is not an int, in which case we 
should tell the user explicitly that there is interference from some other 
output, instead of surfacing an obscure "ValueError: cannot cast to int" 
message.
    
    The second except is there for all other exceptions that could happen (if 
we fail to read from process output). This doesn't add much information other 
than the exit code, if there is one.


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

Reply via email to