[ 
https://issues.apache.org/jira/browse/SPARK-16899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15729734#comment-15729734
 ] 

Anton Okolnychyi commented on SPARK-16899:
------------------------------------------

Is the ticket still valid? I cannot reproduce the exception if I run the 
example using Spark 2.0.2. 

> Structured Streaming Checkpointing Example invalid
> --------------------------------------------------
>
>                 Key: SPARK-16899
>                 URL: https://issues.apache.org/jira/browse/SPARK-16899
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Vladimir Feinberg
>            Priority: Minor
>
> The structured streaming checkpointing example at the bottom of the page 
> (https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#recovering-from-failures-with-checkpointing)
>  has the following excerpt:
> {code}
> aggDF
>    .writeStream
>    .outputMode("complete")
>    .option(“checkpointLocation”, “path/to/HDFS/dir”)
>    .format("memory")
>    .start()
> {code}
> But memory sinks are not fault-tolerant. Indeed, trying this out, I get the 
> following error: 
> {{This query does not support recovering from checkpoint location. Delete 
> /tmp/streaming.metadata-625631e5-baee-41da-acd1-f16c82f68a40/offsets to start 
> over.;}}
> The documentation should be changed to demonstrate checkpointing for a 
> non-aggregation streaming task, and explicitly mention there is no way to 
> checkpoint aggregates.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to