>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....@gmail.com> wrote: > I want to use broadcast in spark streaming, but I found there is no this > function. > How can I use global variable in spark streaming? > > thanks > -- Sourav Chandra Senior Software Engineer · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · sourav.chan...@livestream.com o: +91 80 4121 8723 m: +91 988 699 3746 skype: sourav.chandra Livestream "Ajmera Summit", First Floor, #3/D, 68 Ward, 3rd Cross, 7th C Main, 3rd Block, Koramangala Industrial Area, Bangalore 560034 www.livestream.com