diff options
author | Patrick Wendell <pwendell@gmail.com> | 2014-01-13 22:56:12 -0800 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-01-13 22:56:12 -0800 |
commit | 945fe7a37ea3189b5a9f8a74e5c2fa9c1088ebfc (patch) | |
tree | d8a9f245bb3febc56fc8e0f6eceeec5296711cea /docs | |
parent | 68641bce612d9a4c4adc34d4dd9cab6735f28335 (diff) | |
parent | d4cd5debf4ac11884e4e703f482ffc17427e277f (diff) | |
download | spark-945fe7a37ea3189b5a9f8a74e5c2fa9c1088ebfc.tar.gz spark-945fe7a37ea3189b5a9f8a74e5c2fa9c1088ebfc.tar.bz2 spark-945fe7a37ea3189b5a9f8a74e5c2fa9c1088ebfc.zip |
Merge pull request #408 from pwendell/external-serializers
Improvements to external sorting
1. Adds the option of compressing outputs.
2. Adds batching to the serialization to prevent OOM on the read side.
3. Slight renaming of config options.
4. Use Spark's buffer size for reads in addition to writes.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration.md | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/configuration.md b/docs/configuration.md index 40a57c4bc6..be06bd19be 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -116,7 +116,7 @@ Apart from these, the following properties are also available, and may be useful <td>0.3</td> <td> Fraction of Java heap to use for aggregation and cogroups during shuffles, if - <code>spark.shuffle.externalSorting</code> is enabled. At any given time, the collective size of + <code>spark.shuffle.spill</code> is true. At any given time, the collective size of all in-memory maps used for shuffles is bounded by this limit, beyond which the contents will begin to spill to disk. If spills are often, consider increasing this value at the expense of <code>spark.storage.memoryFraction</code>. @@ -155,6 +155,13 @@ Apart from these, the following properties are also available, and may be useful </td> </tr> <tr> + <td>spark.shuffle.spill.compress</td> + <td>false</td> + <td> + Whether to compress data spilled during shuffles. + </td> +</tr> +<tr> <td>spark.broadcast.compress</td> <td>true</td> <td> @@ -388,7 +395,7 @@ Apart from these, the following properties are also available, and may be useful </td> </tr> <tr> - <td>spark.shuffle.externalSorting</td> + <td>spark.shuffle.spill</td> <td>true</td> <td> If set to "true", limits the amount of memory used during reduces by spilling data out to disk. This spilling |