GitHub user brkyvz opened a pull request:

    https://github.com/apache/spark/pull/15153

    [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 https://github.com/brkyvz/spark SPARK-17599

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

    https://github.com/apache/spark/pull/15153.patch

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 <brk...@gmail.com>
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to