Skip to content

Commit f982df7

Browse files
committed
[SPARK-25299] Don't set map status twice in bypass merge sort shuffle writer (#541)
1 parent 3f0c131 commit f982df7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

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)