Github user squito commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4055#discussion_r32778875
  
    --- Diff: 
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala ---
    @@ -598,6 +598,49 @@ class DAGSchedulerSuite
         assertDataStructuresEmpty()
       }
     
    +  test("run with ShuffleMapStage retry") {
    +    val firstRDD = new MyRDD(sc, 3, Nil)
    +    val firstShuffleDep = new ShuffleDependency(firstRDD, null)
    +    val firstShuffleId = firstShuffleDep.shuffleId
    +    val shuffleMapRdd = new MyRDD(sc, 3, List(firstShuffleDep))
    +    val shuffleDep = new ShuffleDependency(shuffleMapRdd, null)
    +    val reduceRdd = new MyRDD(sc, 1, List(shuffleDep))
    +    submit(reduceRdd, Array(0))
    +
    +    complete(taskSets(0), Seq(
    +      (Success, makeMapStatus("hostB", shuffleMapRdd.partitions.size)),
    --- End diff --
    
    is this supposed to be "hostA"?


---
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]

Reply via email to