Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/sort/UnsafeSort.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ object UnsafeSort {

val outputFile = s"$baseFolder/part$part.dat"

val os = new BufferedOutputStream(new FileOutputStream(outputFile), 4 * 1024 * 1024)
val os = new BufferedOutputStream(new FileOutputStream(outputFile), bufSize)
val buf = new Array[Byte](100)
var count = 0
val arrOffset = BYTE_ARRAY_BASE_OFFSET
Expand Down