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

Apache Spark commented on SPARK-17599:
--------------------------------------

User 'brkyvz' has created a pull request for this issue:
https://github.com/apache/spark/pull/15202

> Folder deletion after globbing may fail StructuredStreaming jobs
> ----------------------------------------------------------------
>
>                 Key: SPARK-17599
>                 URL: https://issues.apache.org/jira/browse/SPARK-17599
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL, Streaming
>    Affects Versions: 2.0.0
>            Reporter: Burak Yavuz
>            Assignee: Burak Yavuz
>             Fix For: 2.1.0
>
>
> The FileStreamSource used by StructuredStreaming first resolves globs, and 
> then creates a ListingFileCatalog which listFiles with the resolved glob 
> patterns. If a folder is deleted after glob resolution but before the 
> ListingFileCatalog can list the files, we can run into a 
> 'FileNotFoundException'.
> This should not be a fatal exception for a streaming job. However we should 
> include a warn message.



--
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