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

Using slice method with streaming api's Interval on DStream

    XMLWordPrintableJSON

Details

    • Question
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.4.0
    • None
    • DStreams
    • None
    • Linux, standalone spark

    Description

      Hi. I am in need to slice a DStream that receives data from a custom receiver (implemented with Spark's Receiver). There are two options to do this

      1. slice(fromTime: Time, toTime: Time)
      2. slice(interval: Interval)

      Although the second option is a public method, the Interval class is private. Can you please help me understand how to use this api with org.apache.spark.streaming.Interval ?

      Thanks, Aarthi

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            aarthipa Aarthi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: