Skip to content

Commit

Permalink
Fix ExternalSorter
Browse files Browse the repository at this point in the history
  • Loading branch information
sryza committed Aug 6, 2014
1 parent b2a62ed commit 8090d88
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ private[spark] class ExternalSorter[K, V, C](

if (objectsWritten == serializerBatchSize) {
flush()
curWriteMetrics = new ShuffleWriteMetrics()
writer = blockManager.getDiskWriter(blockId, file, ser, fileBufferSize, curWriteMetrics)
}
}
Expand Down

0 comments on commit 8090d88

Please sign in to comment.