[
https://issues.apache.org/jira/browse/SPARK-14833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253120#comment-15253120
]
Apache Spark commented on SPARK-14833:
--------------------------------------
User 'tdas' has created a pull request for this issue:
https://github.com/apache/spark/pull/12592
> Refactor StreamTests to test for source fault-tolerance correctly.
> ------------------------------------------------------------------
>
> Key: SPARK-14833
> URL: https://issues.apache.org/jira/browse/SPARK-14833
> Project: Spark
> Issue Type: Sub-task
> Components: SQL, Streaming
> Reporter: Tathagata Das
> Assignee: Tathagata Das
>
> Current StreamTest allows testing of a streaming Dataset generated explicitly
> wraps a source. This is different from the actual production code path where
> the source object is dynamically created through a DataSource object every
> time a query is started. So all the fault-tolerance testing in
> FileSourceSuite and FileSourceStressSuite is not really testing the actual
> code path as they are just reusing the FileStreamSource object.
> Instead of maintaining a mapping of source --> expected offset in StreamTest
> (which requires reuse of source object), it should maintain a mapping of
> source index --> offset, so that it is independent of the source object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]