GitHub user brkyvz opened a pull request:

    [SPARK-17599] Prevent ListingFileCatalog from failing if path doesn't exist

    ## What changes were proposed in this pull request?
    The `ListingFileCatalog` lists files given a set of resolved paths. If a 
folder is deleted at any time between the paths were resolved and the file 
catalog can check for the folder, the Spark job fails. This may abruptly stop 
long running StructuredStreaming jobs for example.
    Folders may be deleted by users or automatically by retention policies. 
These cases should not prevent jobs from successfully completing.
    ## How was this patch tested?
    Unit test in `FileCatalogSuite`

You can merge this pull request into a Git repository by running:

    $ git pull SPARK-17599

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15153
commit e4e8f1a5097a1a90163705a7b99dc33e5f32d925
Author: Burak Yavuz <>
Date:   2016-09-19T20:31:42Z

    ready for review


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:

Reply via email to