Well, the trackStateByKey has been renamed to mapWithState in upcoming 1.6.
And regarding the usecase, you can easily implement this with
updateStateByKey.
See
https://github.com/apache/spark/blob/branch-1.5/examples/src/main/scala/org/apache/spark/examples/streaming/StatefulNetworkWordCount.scala

On Thu, Dec 10, 2015 at 7:46 PM, manasdebashiskar <[email protected]>
wrote:

> Have you taken a look at trackStateBykey in spark streaming (coming in
> spark
> 1.6)
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/State-management-in-spark-streaming-tp25608p25681.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to