[
https://issues.apache.org/jira/browse/SPARK-22533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-22533.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.3.0
Issue resolved by pull request 19760
[https://github.com/apache/spark/pull/19760]
> SparkConfigProvider does not handle deprecated config keys
> ----------------------------------------------------------
>
> Key: SPARK-22533
> URL: https://issues.apache.org/jira/browse/SPARK-22533
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 2.2.0
> Reporter: Marcelo Vanzin
> Priority: Minor
> Fix For: 2.3.0
>
>
> Noticed that when you read a config using a {{ConfigBuilder}}-created
> constant using {{SparkConf.get}}, that does not respect the deprecated keys
> declared in {{SparkConf.configsWithAlternatives}}.
> For example, adding this test to {{SparkConfSuite}} generates a failure:
> {code}
> conf.set("spark.history.fs.cleaner.interval.seconds", "42")
> assert(conf.get(MAX_LOG_AGE_S) === 42L)
> {code}
> While here it would also be nice to handle this TODO from
> {{SparkConf.configsWithAlternatives}}:
> {noformat}
> * TODO: consolidate it with `ConfigBuilder.withAlternative`.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]