Skip to content

Commit 1630fbf

Browse files
committed
changeGeneration --> changeEpoch renaming
1 parent ad18410 commit 1630fbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/scala/spark/scheduler/DAGScheduler.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ class DAGScheduler(
635635
mapOutputTracker.registerMapOutputs(
636636
stage.shuffleDep.get.shuffleId,
637637
stage.outputLocs.map(list => if (list.isEmpty) null else list.head).toArray,
638-
changeGeneration = true)
638+
changeEpoch = true)
639639
}
640640
clearCacheLocs()
641641
if (stage.outputLocs.count(_ == Nil) != 0) {
@@ -718,7 +718,7 @@ class DAGScheduler(
718718
for ((shuffleId, stage) <- shuffleToMapStage) {
719719
stage.removeOutputsOnExecutor(execId)
720720
val locs = stage.outputLocs.map(list => if (list.isEmpty) null else list.head).toArray
721-
mapOutputTracker.registerMapOutputs(shuffleId, locs, changeGeneration = true)
721+
mapOutputTracker.registerMapOutputs(shuffleId, locs, changeEpoch = true)
722722
}
723723
if (shuffleToMapStage.isEmpty) {
724724
mapOutputTracker.incrementEpoch()

0 commit comments

Comments
 (0)