dongjoon-hyun commented on a change in pull request #23928: [SPARK-27023][K8S]
Make k8s client timeouts configurable
URL: https://github.com/apache/spark/pull/23928#discussion_r262600630
##########
File path:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala
##########
@@ -86,6 +86,30 @@ private[spark] object Config extends Logging {
val CLIENT_CERT_FILE_CONF_SUFFIX = "clientCertFile"
val CA_CERT_FILE_CONF_SUFFIX = "caCertFile"
+ val SUBMISSION_CLIENT_REQUEST_TIMEOUT =
+ ConfigBuilder("spark.kubernetes.submission.requestTimeout")
+ .doc("request timeout to be used in milliseconds for starting the
driver")
+ .intConf
+ .createWithDefault(10000)
+
+ val SUBMISSION_CLIENT_CONNECTION_TIMEOUT =
+ ConfigBuilder("spark.kubernetes.submission.connectionTimeout")
+ .doc("connection timeout to be used in milliseconds for starting the
driver")
+ .intConf
+ .createWithDefault(10000)
+
+ val DRIVER_CLIENT_REQUEST_TIMEOUT =
+ ConfigBuilder("spark.kubernetes.driver.requestTimeout")
+ .doc("request timeout to be used in milliseconds for requesting
executors")
+ .intConf
+ .createWithDefault(10000)
+
+ val DRIVER_CLIENT_CONNECTION_TIMEOUT =
+ ConfigBuilder("spark.kubernetes.driver.connectionTimeout")
+ .doc("connection timeout to be used in milliseconds for requesting
executors")
Review comment:
ditto.
----------------------------------------------------------------
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]