Re: How Broadcast variable works

2015-05-29 Thread ayan guha
1. No. thats the purpose of broadcast variable, ie not to be shipped with every task. From Documentation Broadcast Variables Broadcast variables allow the programmer to keep a read-only variable cached on each machine rather than shipping a copy of it with tasks. They can be used, for example, to

Re: How Broadcast variable works

2015-05-29 Thread bit1...@163.com
Can someone help take a look at my questions? Thanks. bit1...@163.com From: bit1...@163.com Date: 2015-05-29 18:57 To: user Subject: How Broadcast variable works Hi, I have a spark streaming application. SparkContext uses broadcast vriables to broadcast Configuration information that each