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 <ak...@sigmoidanalytics.com> wrote: > > 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 <genia...@gmail.com> 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 directory, and adding file into that directory . Appreciate comments >> on how to resolve this. >> >> >> >> -- >> View this message in context: >> http://apache-spark-user-list.1001560.n3.nabble.com/StreamingContext-textFileStream-issue-tp22501p22650.html >> Sent from the Apache Spark User List mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org >> For additional commands, e-mail: user-h...@spark.apache.org >> >