You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2018/07/26 23:52:00 UTC
[jira] [Resolved] (SPARK-24919) Scala linter rule for
sparkContext.hadoopConfiguration
[ https://issues.apache.org/jira/browse/SPARK-24919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li resolved SPARK-24919.
-----------------------------
Resolution: Fixed
Assignee: Gengliang Wang
Fix Version/s: 2.4.0
> Scala linter rule for sparkContext.hadoopConfiguration
> ------------------------------------------------------
>
> Key: SPARK-24919
> URL: https://issues.apache.org/jira/browse/SPARK-24919
> Project: Spark
> Issue Type: Bug
> Components: Build
> Affects Versions: 2.4.0
> Reporter: Gengliang Wang
> Assignee: Gengliang Wang
> Priority: Major
> Fix For: 2.4.0
>
>
> In most cases, we should use spark.sessionState.newHadoopConf() instead of sparkContext.hadoopConfiguration, so that the hadoop configurations specified in Spark session
> configuration will come into effect.
> Add a rule matching spark.sparkContext.hadoopConfiguration or
> spark.sqlContext.sparkContext.hadoopConfiguration to prevent the usage.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org