You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Genmao Yu (JIRA)" <ji...@apache.org> on 2017/01/25 01:25:26 UTC
[jira] [Issue Comment Deleted] (SPARK-18563) mapWithState:
initialState should have a timeout setting per record
[ https://issues.apache.org/jira/browse/SPARK-18563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Genmao Yu updated SPARK-18563:
------------------------------
Comment: was deleted
(was: I do not know is there any plan to add new feature to DStreams? Maybe, we should focus on Structured Streaming?
[~zsxwing])
> mapWithState: initialState should have a timeout setting per record
> -------------------------------------------------------------------
>
> Key: SPARK-18563
> URL: https://issues.apache.org/jira/browse/SPARK-18563
> Project: Spark
> Issue Type: Improvement
> Components: DStreams
> Reporter: Daniel Haviv
>
> when passing an initialState for mapWithState there should a possibility to set a timeout at the record level.
> If for example mapWithState is configured with a 48H timeout, loading an initialState will cause the state to bloat and hold 96H of data and then release 48H of data at once.
--
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