Skip to content

Commit

Permalink
Updated names of two configuration properties
Browse files Browse the repository at this point in the history
  • Loading branch information
liyinan926 committed Dec 23, 2017
1 parent 5d1f889 commit 9d9c841
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,16 @@ private[spark] object Config extends Logging {
.createOptional

val INIT_CONTAINER_MOUNT_TIMEOUT =
ConfigBuilder("spark.kubernetes.mountDependencies.mountTimeout")
.doc("Timeout before aborting the attempt to download and unpack local dependencies from " +
"remote locations and the resource staging server when initializing the driver and " +
"executor pods.")
ConfigBuilder("spark.kubernetes.mountDependencies.timeout")
.doc("Timeout before aborting the attempt to download and unpack dependencies from remote " +
"locations into the driver and executor pods.")
.timeConf(TimeUnit.MINUTES)
.createWithDefault(5)

val INIT_CONTAINER_MAX_THREAD_POOL_SIZE =
ConfigBuilder("spark.kubernetes.initContainer.maxThreadPoolSize")
.doc("Maximum size of the thread pool in the init-container for downloading remote " +
"dependencies.")
ConfigBuilder("spark.kubernetes.mountDependencies.maxSimultaneousDownloads")
.doc("Maximum number of remote dependencies to download simultaneously in a driver or " +
"executor pod.")
.intConf
.createWithDefault(5)

Expand Down

0 comments on commit 9d9c841

Please sign in to comment.