Skip to content

Commit 039d620

Browse files
committed
Add missing closeandwriteoutput
1 parent 30e558d commit 039d620

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ public void write(scala.collection.Iterator<Product2<K, V>> records) throws IOEx
147147
while (records.hasNext()) {
148148
insertRecordIntoSorter(records.next());
149149
}
150+
closeAndWriteOutput();
150151
success = true;
151152
} finally {
152153
if (sorter != null) {

0 commit comments

Comments
 (0)