You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/08/05 08:00:00 UTC
[jira] [Assigned] (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 ]
Apache Spark reassigned SPARK-32539:
------------------------------------
Assignee: Apache Spark (was: Gengliang Wang)
> 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: Apache Spark
> Priority: Major
>
> 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