GitHub user hsaputra opened a pull request:

    https://github.com/apache/incubator-spark/pull/577

    SPARK-1075 Fix doc in the Spark Streaming custom receiver closing bracket 
in the class constructor

    The closing parentheses in the constructor in the first code block example 
is reversed:
    diff --git a/docs/streaming-custom-receivers.md 
b/docs/streaming-custom-receivers.md
    index 4e27d65..3fb540c 100644
    — a/docs/streaming-custom-receivers.md
    +++ b/docs/streaming-custom-receivers.md
    @@ -14,7 +14,7 @@ This starts with implementing 
NetworkReceiver(api/streaming/index.html#org.apa
    The following is a simple socket text-stream receiver.
    {% highlight scala %}
    class SocketTextStreamReceiver(host: String, port: Int(
    + class SocketTextStreamReceiver(host: String, port: Int)
    extends NetworkReceiverString
    {
    protected lazy val blocksGenerator: BlockGenerator =

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/incubator-spark 
fix_simple_streaming_doc

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-spark/pull/577.patch

----
commit 6508341372193428616a5cc70eaec87616a8d78f
Author: Henry Saputra <he...@platfora.com>
Date:   2014-02-10T19:57:22Z

    SPARK-1075 Fix doc in the Spark Streaming custom receiver.

----

Reply via email to