From 29c547303f886b96b74b411ac70f0fa81113f086 Mon Sep 17 00:00:00 2001 From: Sean Owen Date: Wed, 10 Feb 2016 13:34:53 -0800 Subject: [SPARK-12414][CORE] Remove closure serializer Remove spark.closure.serializer option and use JavaSerializer always CC andrewor14 rxin I see there's a discussion in the JIRA but just thought I'd offer this for a look at what the change would be. Author: Sean Owen Closes #11150 from srowen/SPARK-12414. --- docs/configuration.md | 7 ------- docs/streaming-programming-guide.md | 2 -- 2 files changed, 9 deletions(-) (limited to 'docs') diff --git a/docs/configuration.md b/docs/configuration.md index b07c69cd4c..dd2cde8194 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -586,13 +586,6 @@ Apart from these, the following properties are also available, and may be useful Whether to compress broadcast variables before sending them. Generally a good idea. - - spark.closure.serializer - org.apache.spark.serializer.
JavaSerializer - - Serializer class to use for closures. Currently only the Java serializer is supported. - - spark.io.compression.codec lz4 diff --git a/docs/streaming-programming-guide.md b/docs/streaming-programming-guide.md index 7e681b67cf..677f5ff7be 100644 --- a/docs/streaming-programming-guide.md +++ b/docs/streaming-programming-guide.md @@ -2163,8 +2163,6 @@ If the number of tasks launched per second is high (say, 50 or more per second), of sending out tasks to the slaves may be significant and will make it hard to achieve sub-second latencies. The overhead can be reduced by the following changes: -* **Task Serialization**: Using Kryo serialization for serializing tasks can reduce the task sizes, and therefore reduce the time taken to send them to the slaves. This is controlled by the ```spark.closure.serializer``` property. However, at this time, Kryo serialization cannot be enabled for closure serialization. This may be resolved in a future release. - * **Execution mode**: Running Spark in Standalone mode or coarse-grained Mesos mode leads to better task launch times than the fine-grained Mesos mode. Please refer to the [Running on Mesos guide](running-on-mesos.html) for more details. -- cgit v1.2.3