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

Folder deletion after globbing may fail StructuredStreaming jobs

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1, 2.1.0
    • Component/s: Structured Streaming
    • Labels:
      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

            • Assignee:
              brkyvz Burak Yavuz
              Reporter:
              brkyvz Burak Yavuz

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment