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:16 UTC
[jira] [Updated] (SPARK-23474) mapWithState + async operations = no
checkpointing
[ https://issues.apache.org/jira/browse/SPARK-23474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-23474:
---------------------------------
Labels: bulk-closed (was: )
> mapWithState + async operations = no checkpointing
> --------------------------------------------------
>
> Key: SPARK-23474
> URL: https://issues.apache.org/jira/browse/SPARK-23474
> Project: Spark
> Issue Type: Bug
> Components: DStreams
> Affects Versions: 2.2.1
> Reporter: Daniel Lanza GarcĂa
> Priority: Major
> Labels: bulk-closed
>
> In my Spark Streaming job I use mapWithState which obligates me to enable checkpointing. A job is trigger in each batch by the operation: stream.foreachRDD(rdd.foreachPartition()).
> Under this situation the job was checkpoinitng every 10 minutes (batches of 1 minute).
> Now, I have changed the output operation to async: stream.foreachRDD(rdd.foreachPartitionAsync()).
> But checkpointing is not taking place... I tried checkpointing the RDD which I map with state, it get checkpointed but does not break the lineage so tasks keeps growing with every batch.
--
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