Skip to content

Commit

Permalink
Merge pull request apache#415 from pwendell/shuffle-compress
Browse files Browse the repository at this point in the history
Enable compression by default for spills
  • Loading branch information
pwendell committed Jan 14, 2014
2 parents fdaabdc + 0984647 commit 055be5c
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 @@ -81,7 +81,7 @@ private[spark] class BlockManager(
// Whether to compress RDD partitions that are stored serialized
val compressRdds = conf.getBoolean("spark.rdd.compress", false)
// Whether to compress shuffle output temporarily spilled to disk
val compressShuffleSpill = conf.getBoolean("spark.shuffle.spill.compress", false)
val compressShuffleSpill = conf.getBoolean("spark.shuffle.spill.compress", true)

val heartBeatFrequency = BlockManager.getHeartBeatFrequency(conf)

Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Apart from these, the following properties are also available, and may be useful
</tr>
<tr>
<td>spark.shuffle.spill.compress</td>
<td>false</td>
<td>true</td>
<td>
Whether to compress data spilled during shuffles.
</td>
Expand Down

0 comments on commit 055be5c

Please sign in to comment.