Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/4055#discussion_r23589410 --- Diff: core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala --- @@ -540,6 +540,52 @@ class DAGSchedulerSuite extends TestKit(ActorSystem("DAGSchedulerSuite")) with F assertDataStructuresEmpty } + test("Make sure mapStage.pendingtasks is set() " + + "while MapStage.isAvailable is true while stage was retry ") { + val firstRDD = new MyRDD(sc, 6, Nil) + val firstShuffleDep = new ShuffleDependency(firstRDD, null) + val firstShuyffleId = firstShuffleDep.shuffleId + val shuffleMapRdd = new MyRDD(sc, 6, List(firstShuffleDep)) + val shuffleDep = new ShuffleDependency(shuffleMapRdd, null) + val shuffleId = shuffleDep.shuffleId --- End diff -- The `shuffleId` is not used.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org