Github user shivaram commented on a diff in the pull request:
https://github.com/apache/spark/pull/6652#discussion_r31975738
--- Diff: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
---
@@ -137,6 +137,23 @@ class DAGScheduler(
private[scheduler] val eventProcessLoop = new
DAGSchedulerEventProcessLoop(this)
taskScheduler.setDAGScheduler(this)
+ // Flag to control if reduce tasks are assigned preferred locations
+ private val shuffleLocalityEnabled =
+ sc.getConf.getBoolean("spark.shuffle.reduceLocality.enabled", true)
+ // Number of map, reduce tasks above which we do not assign preferred
locations
+ // based on map output sizes. We limit the size of jobs for which assign
preferred locations
+ // as sorting the locations by size becomes expensive.
--- End diff --
Fixed now
---
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]