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

Exclude files in StreamingContext. textFileStream(directory)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • DStreams

    Description

      Currenly, spark streaming can monitor a directory and it will process the newly added files. This will cause a bug if the files copied to the directory are big. For example, in hdfs, if a file is being copied, its name is file_name.COPYING. Spark will pick up the file and process. However, when it's done copying the file, the file name becomes file_name. This would cause FileDoesNotExist error. It would be great if we can exclude files using regex in the directory.

      Attachments

        Activity

          People

            Unassigned Unassigned
            noelp Noel Vo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: