You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tathagata Das (JIRA)" <ji...@apache.org> on 2015/08/14 08:30:45 UTC

[jira] [Created] (SPARK-9966) Handle a couple of corner cases in the PID rate estimator

Tathagata Das created SPARK-9966:
------------------------------------

             Summary: 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org