boradcast例子代码: scala版本 spark共享变量之Accumulator 例子代码: scala版本 转载于:https://www.cnblogs.com/yaohaitao/p/5650573.html