Github user squito commented on a diff in the pull request:
https://github.com/apache/spark/pull/11241#discussion_r55604381
--- Diff: core/src/main/scala/org/apache/spark/storage/BlockManager.scala
---
@@ -58,6 +58,11 @@ private case object DoPutSucceeded extends DoPutResult
private case object DoPutBytesFailed extends DoPutResult
private case class DoPutIteratorFailed(iter: Iterator[Any]) extends
DoPutResult
+private[spark] object BlockManagerConfiguration {
+ // Max number of failures before this block manager refreshes the block
locations from the driver
+ def maxFailuresBeforeLocationRefresh: Int = 5
+}
--- End diff --
I don't think we really need a separate config object for this, you could
put it in the existing `object BlockManager`
---
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]