GitHub user gatorsmile opened a pull request: https://github.com/apache/spark/pull/22523
[MINOR] Always Close the tempFile in _serialize_to_jvm ## What changes were proposed in this pull request? Always close the tempFile after `serializer.dump_stream(data, tempFile)` in _serialize_to_jvm ## How was this patch tested? N/A You can merge this pull request into a Git repository by running: $ git pull https://github.com/gatorsmile/spark fixMinor Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22523.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #22523 ---- commit 01bb2096d9041323710550cc98a355631a5b71c1 Author: gatorsmile <gatorsmile@...> Date: 2018-09-22T03:15:06Z minor ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org