spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabor Somogyi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-23474) mapWithState + async operations = no checkpointing
Date Thu, 22 Feb 2018 01:30:00 GMT

    [ 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


Mime
View raw message