GitHub user cloud-fan opened a pull request: https://github.com/apache/spark/pull/18110
[SPARK-20887][CORE] support alternative keys in ConfigBuilder ## What changes were proposed in this pull request? `ConfigBuilder` builds `ConfigEntry` which can only read value with one key, if we wanna change the config name but still keep the old one, it's hard to do. This PR introduce `ConfigBuilder.withAlternative`, to support reading config value with alternative keys. And also rename `spark.scheduler.listenerbus.eventqueue.size` to `spark.scheduler.listenerbus.eventqueue.capacity` with this feature, according to https://github.com/apache/spark/pull/14269#discussion_r118432313 ## How was this patch tested? a new test You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloud-fan/spark config Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18110.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18110 ---- commit 200ee5416af97bf9f1f007a8ec4c619abe4a1a2f Author: Wenchen Fan <wenc...@databricks.com> Date: 2017-05-25T15:47:37Z support alternative keys in ConfigBuilder commit cc51dd09611adb838c1ef15aaffe11d90b0b119c Author: Wenchen Fan <wenc...@databricks.com> Date: 2017-05-25T15:48:46Z rename a config ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org