Update on this: val lines = ssc.socketTextStream("localhost", 9999)
lines.print // works lines.map(_->1).print // works lines.map(_->1).reduceByKey(_+_).print // nothing printed to driver console Just lots of: 14/07/13 11:37:40 INFO receiver.BlockGenerator: Pushed block input-0-1405276660400 14/07/13 11:37:41 INFO scheduler.ReceiverTracker: Stream 0 received 1 blocks 14/07/13 11:37:41 INFO scheduler.JobScheduler: Added jobs for time 1405276661000 ms 14/07/13 11:37:41 INFO storage.MemoryStore: ensureFreeSpace(60) called with curMem=1275, maxMem=98539929 14/07/13 11:37:41 INFO storage.MemoryStore: Block input-0-1405276661400 stored as bytes to memory (size 60.0 B, free 94.0 MB) 14/07/13 11:37:41 INFO storage.BlockManagerInfo: Added input-0-1405276661400 in memory on 25.17.218.118:55820 (size: 60.0 B, free: 94.0 MB) 14/07/13 11:37:41 INFO storage.BlockManagerMaster: Updated info of block input-0-1405276661400 Any insight? Thanks On Sun, Jul 13, 2014 at 1:03 AM, Walrus theCat <walrusthe...@gmail.com> wrote: > Hi, > > I have a DStream that works just fine when I say: > > dstream.print > > If I say: > > dstream.map(_,1).print > > that works, too. However, if I do the following: > > dstream.reduce{case(x,y) => x}.print > > I don't get anything on my console. What's going on? > > Thanks >