Hi David, 

Thank you for detailed reply. I understand what you said about the ideas on
broadcast variable. But I am still a little bit confused. In your reply, you
said:

*It has sent largeValue across the network to each worker already, and gave
you a/ key /to retrieve it.*

So my question is, now I've put the* key*, which is  var br_value in a
global singleton (globalObject), why I can't invoke my largeValue later in a
closure by calling the key, which is globalObject.br_value.value  ?





--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Why-I-can-t-use-broadcast-var-defined-in-a-global-object-tp27523p27525.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to