cxzl25 commented on code in PR #42061:
URL: https://github.com/apache/spark/pull/42061#discussion_r1267532678
##########
core/src/main/scala/org/apache/spark/internal/config/package.scala:
##########
@@ -2255,10 +2255,17 @@ package object config {
.checkValue(_ >= 0, "needs to be a non-negative value")
.createWithDefault(5)
+ private[spark] val STAGE_MAX_CONSECUTIVE_ATTEMPTS =
+ ConfigBuilder("spark.stage.maxConsecutiveAttempts")
+ .doc("Number of consecutive stage attempts allowed before a stage is
aborted.")
+ .version("2.2.0")
+ .intConf
+ .createWithDefault(4)
Review Comment:
Looks like it's a public configuration item since 2.2.0.
https://spark.apache.org/docs/latest/configuration.html
https://github.com/apache/spark/blob/9b43a9f3ea551a594835a4742f7b2d1fdb1cf518/docs/configuration.md?plain=1#L2912-L2919
--
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]