GitHub user gabrielenizzoli opened a pull request:
https://github.com/apache/spark/pull/1077
Fix for newFilesOnly logic in file DStream
The newFilesOnly logic should be inverted: if newFilesOnly==true then only
start reading files older than current time. As the code is now if
newFilesOnly==true then it will start to read files that are older than 0L
(that is: every file in the directory).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gabrielenizzoli/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/1077.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1077
----
commit 4f1d26163edd275a2537ea9ef616d1e262da884a
Author: Gabriele Nizzoli <[email protected]>
Date: 2014-06-13T19:06:31Z
Fix for newFilesOnly logic in file DStream
The newFilesOnly logic should be inverted: if newFilesOnly==true then only
start reading files older than current time. As the code is now if
newFilesOnly==true then it will start to read files that are older than 0L
(that is: every file in the directory).
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---