Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1976

misleading streaming document

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.1, 1.1.0
    • None
    • None

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            codingcat Nan Zhu
            codingcat Nan Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment