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

UpdateStateByKey Operation documentation incorrectly refers to StatefulNetworkWordCount

    XMLWordPrintableJSON

Details

    Description

      Doc Issue : Apache Spark Streaming guide elaborates UpdateStateByKey Operation and goes onto give an example. However for complete code sample it referes to site.SPARK_GITHUB_URL/blob/master/examples/src/main/scala/org/apache
      /spark/examples/streaming/StatefulNetworkWordCount.scala). StatefulNetworkWordCount.scala has changed to demonstrate more recent API mapWithState.
      This creates confusion in the document.

      Till the time more detailed explanation of mapWIthState is added the reference to StatefulNetworkWordCount.scala should be removed.

      Attachments

        Activity

          People

            rishitesh Rishi
            rishitesh Rishi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: