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

[jira] [Created] (SPARK-25171) After restart, StreamingContext is replaying the last successful micro-batch right before the stop

Haopu Wang created SPARK-25171:
----------------------------------

             Summary: After restart, StreamingContext is replaying the last successful micro-batch right before the stop
                 Key: SPARK-25171
                 URL: https://issues.apache.org/jira/browse/SPARK-25171
             Project: Spark
          Issue Type: Bug
          Components: DStreams
    Affects Versions: 2.3.1
            Reporter: Haopu Wang


Please look at this line:

 

[https://github.com/apache/spark/blob/8bde4678166f5f01837919d4f8d742b89f5e76b8/streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobGenerator.scala#L216]

 

"checkpointTime" represents a successful micro-batch. Why do we still treat it as "pending"?

 

I think this is a bug. It cause duplicate processing.

 



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