GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/20524
[SPARK-23345][SQL] Remove open stream record even closing it fails
## What changes were proposed in this pull request?
When `DebugFilesystem` closes opened stream, if any exception occurs, we
still need to remove the open stream. Otherwise, it goes to report leaked
filesystem connection.
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 SPARK-23345
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20524.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 #20524
----
commit 34df0cdcc99794f212e6cbeb55c35e3f0321c770
Author: Liang-Chi Hsieh <viirya@...>
Date: 2018-02-07T05:59:26Z
Remove open stream record even closing fails.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]