[ 
https://issues.apache.org/jira/browse/SPARK-29267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean R. Owen resolved SPARK-29267.
----------------------------------
    Resolution: Invalid

None of the discussion here or in the PR is actually about a timeout, or any 
report of a problem. I'm closing this as we aren't going to add the new API 
methods either. This really needs to be more clearly described in the future.

> rdd.countApprox should stop when 'timeout'
> ------------------------------------------
>
>                 Key: SPARK-29267
>                 URL: https://issues.apache.org/jira/browse/SPARK-29267
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.0.0
>            Reporter: Kangtian
>            Priority: Minor
>         Attachments: image-2019-10-05-12-37-22-927.png, 
> image-2019-10-05-12-38-26-867.png, image-2019-10-05-12-38-52-039.png
>
>
> {{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{color:#FF0000} immediately{color}*, 
> without FinalValue
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to