Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/3101#discussion_r19917001
--- Diff:
network/common/src/main/java/org/apache/spark/network/util/TransportConf.java
---
@@ -58,4 +63,16 @@ public int connectionTimeoutMs() {
/** Timeout for a single round trip of SASL token exchange, in
milliseconds. */
public int saslRTTimeout() { return
conf.getInt("spark.shuffle.sasl.timeout", 30000); }
+
+ /**
+ * Max number of times we will try IO exceptions (such as connection
timeouts) per request.
+ * If set to 0, we will not do any retries.
+ */
+ public int maxIORetries() { return
conf.getInt("spark.shuffle.io.maxIORetries", 3); }
+
+ /**
+ * Time (in milliseconds) that we will wait in order to perform a retry
after an IOException.
+ * Only relevant if maxIORetries > 0.
+ */
+ public int ioRetryWaitTime() { return
conf.getInt("spark.shuffle.io.ioRetryWaitTime", 5000); }
--- End diff --
spark.shuffle.io.retryWaitMs ?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]