Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/2765#discussion_r25066019
--- Diff: docs/streaming-programming-guide.md ---
@@ -659,6 +659,7 @@ methods for creating DStreams from files and Akka
actors as input sources.
+ Once moved, the files must not be changed. So if the files are
being continuously appended, the new data will not be read.
For simple text files, there is an easier method
`streamingContext.textFileStream(dataDirectory)`. And file streams do not
require running a receiver, hence does not require allocating cores.
+ If Spark Streaming monitor the directory in nested directories, there
is an easier method `streamingContext.textFileStream(dataDirectory, depth)`.
--- End diff --
I don't think this is necessary here.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]