-
- Downloads
[SPARK-22533][CORE] Handle deprecated names in ConfigEntry.
This change hooks up the config reader to `SparkConf.getDeprecatedConfig`, so that config constants with deprecated names generate the proper warnings. It also changes two deprecated configs from the new "alternatives" system to the old deprecation system, since they're not yet hooked up to each other. Added a few unit tests to verify the desired behavior. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #19760 from vanzin/SPARK-22533.
Showing
- core/src/main/scala/org/apache/spark/SparkConf.scala 10 additions, 6 deletionscore/src/main/scala/org/apache/spark/SparkConf.scala
- core/src/main/scala/org/apache/spark/internal/config/ConfigProvider.scala 3 additions, 1 deletion...ala/org/apache/spark/internal/config/ConfigProvider.scala
- core/src/main/scala/org/apache/spark/internal/config/package.scala 0 additions, 2 deletions...main/scala/org/apache/spark/internal/config/package.scala
- core/src/test/scala/org/apache/spark/SparkConfSuite.scala 7 additions, 0 deletionscore/src/test/scala/org/apache/spark/SparkConfSuite.scala
Please register or sign in to comment