Skip to content

Commit 9d9c841

Browse files
committed
Updated names of two configuration properties
1 parent 5d1f889 commit 9d9c841

File tree

1 file changed

+6
-7
lines changed
  • resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s

1 file changed

+6
-7
lines changed

resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,17 +152,16 @@ private[spark] object Config extends Logging {
152152
.createOptional
153153

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

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

0 commit comments

Comments
 (0)