You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2014/10/25 10:08:33 UTC
[jira] [Commented] (SPARK-3660) Initial RDD for updateStateByKey
transformation
[ https://issues.apache.org/jira/browse/SPARK-3660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184025#comment-14184025 ]
Apache Spark commented on SPARK-3660:
-------------------------------------
User 'soumitrak' has created a pull request for this issue:
https://github.com/apache/spark/pull/2665
> Initial RDD for updateStateByKey transformation
> -----------------------------------------------
>
> Key: SPARK-3660
> URL: https://issues.apache.org/jira/browse/SPARK-3660
> Project: Spark
> Issue Type: New Feature
> Components: Streaming
> Reporter: Soumitra Kumar
> Priority: Minor
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> How to initialize state tranformation updateStateByKey?
> I have word counts from previous spark-submit run, and want to load that in next spark-submit job to start counting over that.
> One proposal is to add following argument to updateStateByKey methods.
> initial : Option [RDD [(K, S)]] = None
> This will maintain the backward compatibility as well.
> I have a working code as well.
> This thread started on spark-user list at:
> http://apache-spark-user-list.1001560.n3.nabble.com/How-to-initialize-updateStateByKey-operation-td14772.html
--
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