Repository: spark
Updated Branches:
  refs/heads/master fa13301ae -> 7276fa9aa


[SPARK-11751] Doc describe error in the "Spark Streaming Programming Guide" page

In the **[Task Launching 
Overheads](http://spark.apache.org/docs/latest/streaming-programming-guide.html#task-launching-overheads)**
 section,
>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.

as we known **Task Serialization** is configuration by 
**spark.closure.serializer** parameter, but currently only the Java serializer 
is supported. If we set **spark.closure.serializer** to 
**org.apache.spark.serializer.KryoSerializer**, then this will throw a 
exception.

Author: yangping.wu <wyphao.2...@163.com>

Closes #9734 from 397090770/397090770-patch-1.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/7276fa9a
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/7276fa9a
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/7276fa9a

Branch: refs/heads/master
Commit: 7276fa9aa9d2eccb6aebd5c690ac334699142f1e
Parents: fa13301
Author: yangping.wu <wyphao.2...@163.com>
Authored: Tue Nov 17 14:11:34 2015 +0000
Committer: Sean Owen <so...@cloudera.com>
Committed: Tue Nov 17 14:11:34 2015 +0000

----------------------------------------------------------------------
 docs/streaming-programming-guide.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/7276fa9a/docs/streaming-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/streaming-programming-guide.md 
b/docs/streaming-programming-guide.md
index e9a27f4..96b36b7 100644
--- a/docs/streaming-programming-guide.md
+++ b/docs/streaming-programming-guide.md
@@ -2001,8 +2001,7 @@ 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.
+* **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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to