You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2021/02/08 13:54:07 UTC
[jira] [Updated] (SPARK-34224) Ensure all resource opened by
`Source.fromXXX` method are closed
[ https://issues.apache.org/jira/browse/SPARK-34224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-34224:
---------------------------------
Fix Version/s: 3.1.1
> Ensure all resource opened by `Source.fromXXX` method are closed
> ----------------------------------------------------------------
>
> Key: SPARK-34224
> URL: https://issues.apache.org/jira/browse/SPARK-34224
> Project: Spark
> Issue Type: Bug
> Components: Tests
> Affects Versions: 3.2.0
> Reporter: Yang Jie
> Assignee: Yang Jie
> Priority: Minor
> Fix For: 3.0.2, 3.1.1, 3.1.2
>
>
> Using a function like .mkString or .getLines directly on a Source opened by fromFile, fromURL, fromURI will leak the underlying file handle, we should ensure these resource closed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org