beliefer commented on a change in pull request #27668: [SPARK-30887][CORE][DOC]
Add version information to the configuration of Deploy
URL: https://github.com/apache/spark/pull/27668#discussion_r383084746
##########
File path: core/src/main/scala/org/apache/spark/internal/config/Deploy.scala
##########
@@ -19,48 +19,59 @@ package org.apache.spark.internal.config
private[spark] object Deploy {
val RECOVERY_MODE = ConfigBuilder("spark.deploy.recoveryMode")
+ .version("0.8.1")
.stringConf
.createWithDefault("NONE")
val RECOVERY_MODE_FACTORY =
ConfigBuilder("spark.deploy.recoveryMode.factory")
+ .version("1.2.0")
.stringConf
.createWithDefault("")
val RECOVERY_DIRECTORY = ConfigBuilder("spark.deploy.recoveryDirectory")
+ .version("0.8.1")
.stringConf
.createWithDefault("")
val ZOOKEEPER_URL = ConfigBuilder("spark.deploy.zookeeper.url")
.doc(s"When `${RECOVERY_MODE.key}` is set to ZOOKEEPER, this " +
"configuration is used to set the zookeeper URL to connect to.")
+ .version("0.8.1")
.stringConf
.createOptional
val ZOOKEEPER_DIRECTORY = ConfigBuilder("spark.deploy.zookeeper.dir")
+ .version("0.8.1")
.stringConf
.createOptional
val RETAINED_APPLICATIONS =
ConfigBuilder("spark.deploy.retainedApplications")
+ .version("0.8.0")
.intConf
.createWithDefault(200)
val RETAINED_DRIVERS = ConfigBuilder("spark.deploy.retainedDrivers")
+ .version("1.1.0")
.intConf
.createWithDefault(200)
val REAPER_ITERATIONS = ConfigBuilder("spark.dead.worker.persistence")
+ .version("0.8.0")
.intConf
.createWithDefault(15)
val MAX_EXECUTOR_RETRIES = ConfigBuilder("spark.deploy.maxExecutorRetries")
+ .version("1.6.3")
.intConf
.createWithDefault(10)
val SPREAD_OUT_APPS = ConfigBuilder("spark.deploy.spreadOut")
+ .version("0.6.1")
.booleanConf
.createWithDefault(true)
val DEFAULT_CORES = ConfigBuilder("spark.deploy.defaultCores")
+ .version("0.9.0")
Review comment:
No JIRA ID, commit ID:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]