Github user megatron-me-uk commented on the pull request:

    https://github.com/apache/spark/pull/6262#issuecomment-103462427
  
    I believe that this change will bring pyspark more in line with the 
operation of the scala implementation.
    See: 
https://github.com/apache/spark/blob/4ce2782a61e23ed0326faac2ee97a9bd36ec8963/core/src/main/scala/org/apache/spark/rdd/PipedRDD.scala#L161
    
    In scala, the output of an external command is read from stdout until EOF. 
Then the exit status is checked. If exitStatus is not Zero an Exception is 
thrown.
    Here, I have implemented the same behaviour in python.


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