Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/8844#discussion_r39935722
--- Diff:
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala ---
@@ -474,9 +495,9 @@ class DAGSchedulerSuite
test("run trivial shuffle with fetch failure") {
val shuffleMapRdd = new MyRDD(sc, 2, Nil)
- val shuffleDep = new ShuffleDependency(shuffleMapRdd, null)
+ val shuffleDep = new ShuffleDependency(shuffleMapRdd, new
HashPartitioner(2))
--- End diff --
These changes were needed because the new
MapOutputTracker.getPreferredLocationsForShuffle figures out the number of
partitions from the shuffle dependency's partitioner, so we could no longer
pass in null as the partitioner.
---
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]