-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-22757][Kubernetes] Enable use of remote dependencies (http, s3, gcs, etc.) in Kubernetes mode #19954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-22757][Kubernetes] Enable use of remote dependencies (http, s3, gcs, etc.) in Kubernetes mode #19954
Changes from 1 commit
d3cbbdd
5d2cbc8
4ee76af
9c8051a
1f65417
109ad80
c21fdcf
a3cd71d
23c5cd9
2ec15c4
5d1f889
9d9c841
c51bc56
28343fb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit:
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the current name is already pretty long. Adding |
||
| .doc("Maximum number of remote dependencies to download simultaneously in a driver or " + | ||
| "executor pod.") | ||
| .intConf | ||
| .createWithDefault(5) | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
spark.kubernetes.initContainer.mountDependencies.timeout?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see the response regarding
spark.kubernetes.mountDependencies.maxSimultaneousDownloads.