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

Join example fix in streaming-programming-guide.md

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.4.1
    • 1.5.0
    • Documentation
    • None

    Description

      Stream-Stream Join has the following signature for Java in the guide:

      JavaPairDStream<String, String> joinedStream = stream1.join(stream2);

      It should be:
      JavaPairDStream<String, Tuple2<String, String>> joinedStream = stream1.join(stream2);

      Same for windowed stream join. It should be:

      JavaPairDStream<String, Tuple2<String, String>> joinedStream = windowedStream1.join(windowedStream2);

      Attachments

        Activity

          People

            katariya.namit Namit Katariya
            jayants Jayant Shekhar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: