You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Daniel Lanza García (JIRA)" <ji...@apache.org> on 2018/02/21 07:14:00 UTC

[jira] [Created] (SPARK-23474) mapWithState + async operations = no checkpointing

Daniel Lanza García created SPARK-23474:
-------------------------------------------

             Summary: 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


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