Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/18522
  
    I suspect that this doesn't hurt, because at the point you stop copying 
input to a file, you are done with the input, and I don't think there is any 
reason that the caller would ever continue reading it elsewhere. That said, the 
process is already terminated correctly in this case, which closes the streams 
too. I'm neutral on it unless this is theoretically solving a problem.


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