spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <>
Subject [jira] [Commented] (SPARK-19524) newFilesOnly does not work according to docs.
Date Fri, 10 Feb 2017 20:28:41 GMT


Sean Owen commented on SPARK-19524:

Ah, so you _don't_ want to only read new files. The behavior of newFilesOnly=false is _not_
to read _all_ old files. The default other behavior is as explained in the SO post. It reprocesses
some window of recent data, about a minute or so. You can control the size of this lookback
with spark.streaming.minRememberDuration which is minRememberDurationS in the code (this is
what I meant above.)

I think this is just the same question as was answered on SO then so this should be closed.

> newFilesOnly does not work according to docs. 
> ----------------------------------------------
>                 Key: SPARK-19524
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: DStreams
>    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. 
says, that it shouldn't work as expected. 
not clear at all in terms, what code tries to do

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message