Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-17599

Folder deletion after globbing may fail StructuredStreaming jobs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 2.1.0
    • Structured Streaming
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              brkyvz Burak Yavuz
              brkyvz Burak Yavuz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: