Skip to content

Commit

Permalink
Disable shuffle file consolidation by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pwendell committed Jan 13, 2014
1 parent 288a878 commit 2802cc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ShuffleBlockManager(blockManager: BlockManager) {
// Turning off shuffle file consolidation causes all shuffle Blocks to get their own file.
// TODO: Remove this once the shuffle file consolidation feature is stable.
val consolidateShuffleFiles =
conf.getBoolean("spark.shuffle.consolidateFiles", true)
conf.getBoolean("spark.shuffle.consolidateFiles", false)

private val bufferSize = conf.getInt("spark.shuffle.file.buffer.kb", 100) * 1024

Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ Apart from these, the following properties are also available, and may be useful

<tr>
<td>spark.shuffle.consolidateFiles</td>
<td>true</td>
<td>false</td>
<td>
If set to "true", consolidates intermediate files created during a shuffle. Creating fewer files can improve filesystem performance for shuffles with large numbers of reduce tasks. It is recommended to set this to "true" when using ext4 or xfs filesystems. On ext3, this option might degrade performance on machines with many (>8) cores due to filesystem limitations.
</td>
Expand Down

0 comments on commit 2802cc8

Please sign in to comment.