You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:01:09 UTC

[jira] [Updated] (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 ]

Hyukjin Kwon updated SPARK-18563:
---------------------------------
    Labels: bulk-closed  (was: )

> 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
>            Priority: Major
>              Labels: bulk-closed
>
> 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
(v7.6.3#76005)

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