Github user mridulm commented on the pull request:

    https://github.com/apache/spark/pull/577#issuecomment-42110570
  
    Might be good idea to abstract out the try/finally idiom out.
    @mateiz, any thoughts ? We have a bunch of places where resource cleanup 
does not happen properly - which become relevant only when things fail.
    Ofcourse, in almost all of these cases, failure usually should result in 
killing the worker anyway ... but still, will be good to enforce proper 
resource lifecycle.


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

Reply via email to