You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Stas Levin (JIRA)" <ji...@apache.org> on 2017/05/01 13:31:04 UTC
[jira] [Resolved] (BEAM-2073) Change
SourceDStream.rateControlledMaxRecords() to better reflect its intention
[ https://issues.apache.org/jira/browse/BEAM-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stas Levin resolved BEAM-2073.
------------------------------
Resolution: Fixed
Fix Version/s: First stable release
> Change SourceDStream.rateControlledMaxRecords() to better reflect its intention
> -------------------------------------------------------------------------------
>
> Key: BEAM-2073
> URL: https://issues.apache.org/jira/browse/BEAM-2073
> Project: Beam
> Issue Type: Bug
> Components: runner-spark
> Reporter: Stas Levin
> Assignee: Stas Levin
> Priority: Minor
> Fix For: First stable release
>
>
> {{SourceDStream.rateControlledMaxRecords()}} returns {{Long.MAX_VALUE}} if no rate controller is defined, i.e., when the spark {{"spark.streaming.backpressure.enabled"}} configuration is {{false}}, which it is by default.
> Since the method's name implies it returns a limit determined by the rate controller, when one is not defined it is somewhat counter-intuitive to get back a {{Long.MAX_VALUE}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)