[ 
https://issues.apache.org/jira/browse/SPARK-16487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ahmed Mahran updated SPARK-16487:
---------------------------------
    Description: 
In JobGenerator, the code reads like that some batches might not get marked as 
fully processed. In the following flowchart, the batch should get marked fully 
processed before endpoint C however it is not. Currently, this does not 
actually cause an issue, as the condition {code}(time - zeroTime) is multiple 
of checkpoint duration?{code} always evaluates to true as the checkpoint 
duration is always set to be equal to the batch duration.

!https://s31.postimg.org/udy9lti2j/spark_streaming_job_generator.png|width=700!
[Image URL|https://s31.postimg.org/udy9lti2j/spark_streaming_job_generator.png]

  was:
In JobGenerator, the code reads like that some batches might not get marked as 
fully processed. In the following flowchart, the batch should get marked fully 
processed before endpoint C however it is not. Currently, this does not 
actually cause an issue, as the condition {code}(time - zeroTime) is multiple 
of checkpoint duration?{code} always evaluates to true as the checkpoint 
duration is always set to be equal to the batch duration.

!https://s31.postimg.org/udy9lti2j/spark_streaming_job_generator.png!
[Image URL|https://s31.postimg.org/udy9lti2j/spark_streaming_job_generator.png]


> Some batches might not get marked as fully processed in JobGenerator
> --------------------------------------------------------------------
>
>                 Key: SPARK-16487
>                 URL: https://issues.apache.org/jira/browse/SPARK-16487
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>            Reporter: Ahmed Mahran
>            Priority: Trivial
>
> In JobGenerator, the code reads like that some batches might not get marked 
> as fully processed. In the following flowchart, the batch should get marked 
> fully processed before endpoint C however it is not. Currently, this does not 
> actually cause an issue, as the condition {code}(time - zeroTime) is multiple 
> of checkpoint duration?{code} always evaluates to true as the checkpoint 
> duration is always set to be equal to the batch duration.
> !https://s31.postimg.org/udy9lti2j/spark_streaming_job_generator.png|width=700!
> [Image 
> URL|https://s31.postimg.org/udy9lti2j/spark_streaming_job_generator.png]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to