HyukjinKwon commented on code in PR #56785:
URL: https://github.com/apache/spark/pull/56785#discussion_r3480926745
##########
resource-managers/yarn/src/test/scala/org/apache/spark/deploy/yarn/BaseYarnClusterSuite.scala:
##########
@@ -261,6 +269,15 @@ abstract class BaseYarnClusterSuite extends SparkFunSuite
with Matchers {
val props = new Properties()
props.put(SPARK_JARS.key, "local:" + fakeSparkJar.getAbsolutePath())
+ // On a busy CI runner the in-JVM mini cluster, the driver and the
container JVMs all compete
+ // for CPU, and the driver's RPC server occasionally cannot accept a
connection in time. With
+ // the default of 3 retries an executor that loses this race gives up and
exits, which leaves
+ // the application unable to finish and the suite times out. Give the
executor->driver
+ // connection a larger retry budget so a transient stall does not
permanently fail the app.
+ // These are defaults; individual tests can still override them via
extraConf below.
+ props.setProperty("spark.rpc.io.maxRetries", "10")
Review Comment:
Done -- moved both `setProperty` calls to just after the `sys.props` copy
loop and before `extraConf.foreach`, so an inherited `-Dspark.rpc.io.*` flag no
longer silently overrides them and `extraConf` remains the sole override.
Updated the comment to say so.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]