beliefer commented on a change in pull request #27856: [SPARK-31092][YARN][DOC]
Add version information to the configuration of Yarn
URL: https://github.com/apache/spark/pull/27856#discussion_r389716509
##########
File path:
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala
##########
@@ -276,52 +318,60 @@ package object config {
private[spark] val CACHED_FILES = ConfigBuilder("spark.yarn.cache.filenames")
.internal()
+ .version("2.0.0")
.stringConf
.toSequence
.createWithDefault(Nil)
private[spark] val CACHED_FILES_SIZES =
ConfigBuilder("spark.yarn.cache.sizes")
.internal()
+ .version("2.0.0")
.longConf
.toSequence
.createWithDefault(Nil)
private[spark] val CACHED_FILES_TIMESTAMPS =
ConfigBuilder("spark.yarn.cache.timestamps")
.internal()
+ .version("2.0.0")
.longConf
.toSequence
.createWithDefault(Nil)
private[spark] val CACHED_FILES_VISIBILITIES =
ConfigBuilder("spark.yarn.cache.visibilities")
.internal()
+ .version("2.0.0")
.stringConf
.toSequence
.createWithDefault(Nil)
// Either "file" or "archive", for each file.
private[spark] val CACHED_FILES_TYPES =
ConfigBuilder("spark.yarn.cache.types")
.internal()
+ .version("2.0.0")
.stringConf
.toSequence
.createWithDefault(Nil)
// The location of the conf archive in HDFS.
private[spark] val CACHED_CONF_ARCHIVE =
ConfigBuilder("spark.yarn.cache.confArchive")
.internal()
+ .version("2.0.0")
.stringConf
.createOptional
/* YARN allocator-level blacklisting related config entries. */
private[spark] val YARN_EXECUTOR_LAUNCH_BLACKLIST_ENABLED =
ConfigBuilder("spark.yarn.blacklist.executor.launch.blacklisting.enabled")
+ .version("2.4.0")
.booleanConf
.createWithDefault(false)
/* Initially blacklisted YARN nodes. */
private[spark] val YARN_EXCLUDE_NODES =
ConfigBuilder("spark.yarn.exclude.nodes")
- .stringConf
- .toSequence
- .createWithDefault(Nil)
+ .version("3.0.0")
Review comment:
SPARK-26688, commit ID:
caceaec93203edaea1d521b88e82ef67094cdea9#diff-4804e0f83ca7f891183eb0db229b4b9a
----------------------------------------------------------------
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]