Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.2.0
-
None
Description
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:
conf.set("spark.history.fs.cleaner.interval.seconds", "42") assert(conf.get(MAX_LOG_AGE_S) === 42L)
While here it would also be nice to handle this TODO from SparkConf.configsWithAlternatives:
* TODO: consolidate it with `ConfigBuilder.withAlternative`.