You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/01/08 15:36:28 UTC
[GitHub] [spark] tgravescs commented on a change in pull request #30710: [SPARK-33741] Add min threshold time speculation config (#684)
tgravescs commented on a change in pull request #30710:
URL: https://github.com/apache/spark/pull/30710#discussion_r554012961
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -1889,6 +1889,12 @@ package object config {
.doubleConf
.createWithDefault(0.75)
+ private[spark] val SPECULATION_MIN_THRESHOLD =
+ ConfigBuilder("spark.speculation.min.threshold")
+ .version("3.2.0")
Review comment:
please add the .doc section as well.
##########
File path: docs/configuration.md
##########
@@ -2309,6 +2309,16 @@ Apart from these, the following properties are also available, and may be useful
</td>
<td>0.6.0</td>
</tr>
+<tr>
+ <td><code>spark.speculation.min.threshold</code></td>
+ <td>100ms</td>
+ <td>
+ Duplicate copies of a task will only be launched if the original copy has been running for
Review comment:
I think we should reword a bit to be more specific about the config. something like: Minimum amount of time a task runs before being considered for speculation. This ....
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org