You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Hahn Jiang <ha...@gmail.com> on 2014/06/20 10:39:31 UTC
broadcast in spark streaming
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
Re: broadcast in spark streaming
Posted by Hahn Jiang <ha...@gmail.com>.
I get it. thank you
On Fri, Jun 20, 2014 at 4:43 PM, Sourav Chandra <
sourav.chandra@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 <ha...@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.chandra@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
>
Re: broadcast in spark streaming
Posted by Sourav Chandra <so...@livestream.com>.
>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 <ha...@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.chandra@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