Skip to content

Commit 1f6f6e6

Browse files
mccheahifilonenko
authored andcommitted
[SPARK-25299] Don't set map status twice in bypass merge sort shuffle writer (apache-spark-on-k8s#541)
1 parent 31dd8a4 commit 1f6f6e6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,6 @@ public void write(Iterator<Product2<K, V>> records) throws IOException {
186186
}
187187
throw e;
188188
}
189-
mapStatus = MapStatus$.MODULE$.apply(
190-
blockManager.shuffleServerId(),
191-
DefaultMapShuffleLocations.get(blockManager.shuffleServerId()),
192-
partitionLengths);
193189
}
194190

195191
@VisibleForTesting

0 commit comments

Comments
 (0)