[ 
https://issues.apache.org/jira/browse/SPARK-9966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14696928#comment-14696928
 ] 

Apache Spark commented on SPARK-9966:
-------------------------------------

User 'tdas' has created a pull request for this issue:
https://github.com/apache/spark/pull/8199

> Handle a couple of corner cases in the PID rate estimator
> ---------------------------------------------------------
>
>                 Key: SPARK-9966
>                 URL: https://issues.apache.org/jira/browse/SPARK-9966
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Streaming
>            Reporter: Tathagata Das
>            Assignee: Tathagata Das
>            Priority: Blocker
>
> 1. The rate estimator should not estimate any rate when there are no records 
> in the batch, as there is no data to estimate the rate. In the current state, 
> it estimates and set the rate to zero. That is incorrect.
> 2. The rate estimator should not never set the rate to zero under any 
> circumstances. Otherwise the system will stop receiving data, and stop 
> generating useful estimates (see reason 1). So the fix is to define a 
> parameters that sets a lower bound on the estimated rate, so that the system 
> always receives some data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to