Skip to content

Commit 350d3be

Browse files
committed
Thu Sep 1 18:38:38 PDT 2016
1 parent 06e3398 commit 350d3be

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

core/src/main/java/org/apache/spark/shuffle/sort/BypassMergeSortShuffleWriter.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ public Option<MapStatus> stop(boolean success) {
238238
partitionWriters = null;
239239
}
240240
}
241-
shuffleBlockResolver.removeDataByMap(shuffleId, mapId);
242241
return None$.empty();
243242
}
244243
}

core/src/main/java/org/apache/spark/shuffle/sort/UnsafeShuffleWriter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,6 @@ public Option<MapStatus> stop(boolean success) {
465465
}
466466
return Option.apply(mapStatus);
467467
} else {
468-
// The map task failed, so delete our output data.
469-
shuffleBlockResolver.removeDataByMap(shuffleId, mapId);
470468
return Option.apply(null);
471469
}
472470
}

core/src/main/scala/org/apache/spark/shuffle/sort/SortShuffleWriter.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ private[spark] class SortShuffleWriter[K, V, C](
8383
if (success) {
8484
return Option(mapStatus)
8585
} else {
86-
// The map task failed, so delete our output data.
87-
shuffleBlockResolver.removeDataByMap(dep.shuffleId, mapId)
8886
return None
8987
}
9088
} finally {

0 commit comments

Comments
 (0)