You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gabor Somogyi (JIRA)" <ji...@apache.org> on 2018/02/22 01:30:00 UTC
[jira] [Commented] (SPARK-23474) mapWithState + async operations =
no checkpointing
[ https://issues.apache.org/jira/browse/SPARK-23474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372293#comment-16372293 ]
Gabor Somogyi commented on SPARK-23474:
---------------------------------------
[~DLanza] could you share your smallest example? My app works like charm in local mode.
> 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
>
> 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