You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Egor Pahomov (JIRA)" <ji...@apache.org> on 2017/02/08 22:53:41 UTC

[jira] [Created] (SPARK-19524) newFilesOnly does not work according to docs.

Egor Pahomov created SPARK-19524:
------------------------------------

             Summary: newFilesOnly does not work according to docs. 
                 Key: SPARK-19524
                 URL: https://issues.apache.org/jira/browse/SPARK-19524
             Project: Spark
          Issue Type: Bug
          Components: Structured Streaming
    Affects Versions: 2.0.2
            Reporter: Egor Pahomov


Docs says:

newFilesOnly
Should process only new files and ignore existing files in the directory

It's not working. 

http://stackoverflow.com/questions/29852249/how-spark-streaming-identifies-new-files says, that it shouldn't work as expected. 

https://github.com/apache/spark/blob/master/streaming/src/main/scala/org/apache/spark/streaming/dstream/FileInputDStream.scala not clear at all in terms, what code tries to do




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org