Re: broadcast in spark streaming

2014-06-20 Thread Hahn Jiang
I get it. thank you On Fri, Jun 20, 2014 at 4:43 PM, Sourav Chandra sourav.chan...@livestream.com wrote: From the StreamingContext object, you can get reference of SparkContext using which you can create broadcast variables On Fri, Jun 20, 2014 at 2:09 PM, Hahn Jiang hahn.jiang

Error when I use spark-streaming

2014-04-11 Thread Hahn Jiang
hi all, When I run spark-streaming use NetworkWordCount in example, it always throw this Exception. I don't understand why it can't connect and I don't restrict port. 14/04/11 15:38:56 ERROR SocketReceiver: Error receiving data in receiver 0 java.net.ConnectException: Connection

Re: Error when I use spark-streaming

2014-04-11 Thread Hahn Jiang
I found it. I should run nc -lk at first and then run the NetworkWordCount. Thanks On Fri, Apr 11, 2014 at 4:13 PM, Schein, Sagi sagi.sch...@hp.com wrote: I would check the DNS setting. Akka seems to pick configuration from FQDN on my system Sagi *From:* Hahn Jiang