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

rdd.countApprox should stop when 'timeout'

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 3.0.0
    • None
    • Spark Core
    • None

    Description

      The way to Approximate counting: org.apache.spark.rdd.RDD#countApprox

      countApprox(timeout: Long, confidence: Double = 0.95)

       

      But: 

      when timeout comes, the job will continue run until really finish.

       

      We Want:

      When timeout comes, the job will finish immediately, without FinalValue

       

      Attachments

        1. image-2019-10-05-12-37-22-927.png
          32 kB
          Kangtian
        2. image-2019-10-05-12-38-26-867.png
          31 kB
          Kangtian
        3. image-2019-10-05-12-38-52-039.png
          131 kB
          Kangtian

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Kangtian Kangtian
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: