You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2020/08/06 05:58:00 UTC
[jira] [Resolved] (SPARK-32539) Disallow
FileSystem.get(Configuration conf) by default
[ https://issues.apache.org/jira/browse/SPARK-32539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-32539.
---------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
Issue resolved by pull request 29357
[https://github.com/apache/spark/pull/29357]
> Disallow FileSystem.get(Configuration conf) by default
> ------------------------------------------------------
>
> Key: SPARK-32539
> URL: https://issues.apache.org/jira/browse/SPARK-32539
> Project: Spark
> Issue Type: Improvement
> Components: Project Infra
> Affects Versions: 3.1.0
> Reporter: Gengliang Wang
> Assignee: Gengliang Wang
> Priority: Major
> Fix For: 3.1.0
>
>
> The method `FileSystem.get(Configuration conf)` will return a default FileSystem instance if the conf is not set properly. This can cause regression if the target file system is not the default implementation.
> If we disallow it in Scala style check by default and suggest developers use FileSystem.get(URI uri, Configuration conf) or Path.getFileSystem(), we can reduce potential regression and PR review effort.
--
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