多项选择题

A.广播变量在每Task中保存一份
B.广播变量在每个Executor中保村一份
C.广播变量是只读的
D.广播变量通过SparkContext.broadcast()方法生成