Re: StreamingContext.textFileStream issue

2015-04-25 Thread Yang Lei
I have no problem running the socket text stream sample in the same environment. Thanks Yang Sent from my iPhone > On Apr 25, 2015, at 1:30 PM, Akhil Das wrote: > > Make sure you are having >=2 core for your streaming application. > > Thanks > Best Regards > >> On Sat, Apr 25, 2015 at 3:0

Re: StreamingContext.textFileStream issue

2015-04-25 Thread Akhil Das
Make sure you are having >=2 core for your streaming application. Thanks Best Regards On Sat, Apr 25, 2015 at 3:02 AM, Yang Lei wrote: > I hit the same issue "as if the directory has no files at all" when running > the sample "examples/src/main/python/streaming/hdfs_wordcount.py" with a > local

Re: StreamingContext.textFileStream issue

2015-04-24 Thread Prannoy
Try putting files with different file name and see if the stream is able to detect them. On 25-Apr-2015 3:02 am, "Yang Lei [via Apache Spark User List]" < ml-node+s1001560n22650...@n3.nabble.com> wrote: > I hit the same issue "as if the directory has no files at all" when > running the sample "exa

Re: StreamingContext.textFileStream issue

2015-04-24 Thread Yang Lei
I hit the same issue "as if the directory has no files at all" when running the sample "examples/src/main/python/streaming/hdfs_wordcount.py" with a local directory, and adding file into that directory . Appreciate comments on how to resolve this. -- View this message in context: http://apache-