spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenghao-intel <>
Subject [GitHub] spark pull request: [SPARK-13222][Streaming][WIP]make sure latest ...
Date Wed, 17 Feb 2016 04:07:52 GMT
Github user chenghao-intel commented on a diff in the pull request:
    --- Diff: streaming/src/main/scala/org/apache/spark/streaming/scheduler/JobGenerator.scala
    @@ -123,6 +126,12 @@ class JobGenerator(jobScheduler: JobScheduler) extends Logging {
    +      // generate one more bacth to make sure RDD in lastJob is checkpointed.
    +      if (!jobScheduler.receiverTracker.hasUnallocatedBlocks &&
    +        ssc.graph.isCheckpointMissedLastTime) {
    +        Thread.sleep(ssc.graph.batchDuration.milliseconds)
    --- End diff --
    What about if the last batch execution takes longer time than the batchDuration? Probably
we need a notification with a timeout?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message