No output from Spark Streaming program with Spark 1.0

2014-05-23 Thread Jim Donahue
I¹m trying out 1.0 on a set of small Spark Streaming tests and am running into problems. Here¹s one of the little programs I¹ve used for a long time ‹ it reads a Kafka stream that contains Twitter JSON tweets and does some simple counting. The program starts OK (it connects to the Kafka stream fi

Re: No output from Spark Streaming program with Spark 1.0

2014-05-23 Thread Patrick Wendell
Hey Jim, Do you see the same behavior if you run this outside of eclipse? Also, what happens if you print something to standard out when setting up your streams (i.e. not inside of the foreach) do you see that? This could be a streaming issue, but it could also be something related to the way it'

Re: No output from Spark Streaming program with Spark 1.0

2014-05-23 Thread Patrick Wendell
Also one other thing to try, try removing all of the logic form inside of foreach and just printing something. It could be that somehow an exception is being triggered inside of your foreach block and as a result the output goes away. On Fri, May 23, 2014 at 6:00 PM, Patrick Wendell wrote: > Hey

Re: No output from Spark Streaming program with Spark 1.0

2014-05-23 Thread Tathagata Das
Few more suggestions. 1. See the web ui, is the system running any jobs? If not, then you may need to give the system more nodes. Basically the system should have more cores than the number of receivers. 2. Furthermore there is a streaming specific web ui which gives more streaming specific data.