spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shixiong Zhu (JIRA)" <>
Subject [jira] [Resolved] (SPARK-18790) Keep a general offset history of stream batches
Date Mon, 12 Dec 2016 07:39:59 GMT


Shixiong Zhu resolved SPARK-18790.
          Resolution: Fixed
            Assignee: Tyson Condie
       Fix Version/s: 2.1.1
    Target Version/s:   (was: 2.1.0)

> Keep a general offset history of stream batches
> -----------------------------------------------
>                 Key: SPARK-18790
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: Structured Streaming
>            Reporter: Tyson Condie
>            Assignee: Tyson Condie
>             Fix For: 2.0.3, 2.1.1
> Instead of only keeping the minimum number of offsets around, we should keep enough information
to allow us to roll back n batches and reexecute the stream starting from a given point. In
particular, we should create a config in SQLConf, spark.sql.streaming.retainedBatches that
defaults to 100 and ensure that we keep enough log files in the following places to roll back
the specified number of batches:
> the offsets that are present in each batch
> versions of the state store
> the files lists stored for the FileStreamSource
> the metadata log stored by the FileStreamSink

This message was sent by Atlassian JIRA

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

View raw message