You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nan Zhu (JIRA)" <ji...@apache.org> on 2014/05/30 20:21:02 UTC

[jira] [Created] (SPARK-1976) misleading streaming document

Nan Zhu created SPARK-1976:
------------------------------

             Summary: misleading streaming document
                 Key: SPARK-1976
                 URL: https://issues.apache.org/jira/browse/SPARK-1976
             Project: Spark
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Nan Zhu
             Fix For: 1.0.1


Spark streaming requires at least two working thread, but the document gives the example like 

import org.apache.spark.api.java.function._
import org.apache.spark.streaming._
import org.apache.spark.streaming.api._
// Create a StreamingContext with a local master
val ssc = new StreamingContext("local", "NetworkWordCount", Seconds(1))

http://spark.apache.org/docs/latest/streaming-programming-guide.html





--
This message was sent by Atlassian JIRA
(v6.2#6252)