Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/16650#discussion_r97342524
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/BlacklistTracker.scala ---
@@ -50,10 +50,11 @@ import org.apache.spark.util.{Clock, SystemClock, Utils}
private[scheduler] class BlacklistTracker (
private val listenerBus: LiveListenerBus,
conf: SparkConf,
+ scheduler: Option[ExecutorAllocationClient],
clock: Clock = new SystemClock()) extends Logging {
- def this(sc: SparkContext) = {
- this(sc.listenerBus, sc.conf)
+ def this(sc: SparkContext, scheduler: Option[ExecutorAllocationClient])
= {
--- End diff --
perhaps the variable here should be allocationClient or similar instead of
scheduler since it wouldn't have to be a scheduler backend.
---
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]