aboutsummaryrefslogtreecommitdiff
path: root/docs/tuning.md
diff options
context:
space:
mode:
authorAndrew Ash <andrew@andrewash.com>2013-11-25 17:08:52 -0800
committerAndrew Ash <andrew@andrewash.com>2013-11-25 17:08:52 -0800
commit08afef37a07c501b1ba14e3d6da445712852ca1e (patch)
treed371d7d3d5b97701009ddd16aee10cd56bad4b31 /docs/tuning.md
parenteb4296c8f7561aaf8782479dd5cd7c9320b7fa6b (diff)
downloadspark-08afef37a07c501b1ba14e3d6da445712852ca1e.tar.gz
spark-08afef37a07c501b1ba14e3d6da445712852ca1e.tar.bz2
spark-08afef37a07c501b1ba14e3d6da445712852ca1e.zip
Update tuning.md
Clarify when serializer is used based on recent user@ mailing list discussion.
Diffstat (limited to 'docs/tuning.md')
-rw-r--r--docs/tuning.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/tuning.md b/docs/tuning.md
index f33fda37eb..a4be188169 100644
--- a/docs/tuning.md
+++ b/docs/tuning.md
@@ -39,7 +39,8 @@ in your operations) and performance. It provides two serialization libraries:
for best performance.
You can switch to using Kryo by calling `System.setProperty("spark.serializer", "org.apache.spark.serializer.KryoSerializer")`
-*before* creating your SparkContext. The only reason it is not the default is because of the custom
+*before* creating your SparkContext. This setting configures the serializer used for not only shuffling data between worker
+nodes but also when serializing RDDs to disk. The only reason Kryo is not the default is because of the custom
registration requirement, but we recommend trying it in any network-intensive application.
Finally, to register your classes with Kryo, create a public class that extends