摘要: 一、spark累加器源码以创建一个long类型的累加器为例查看源码sc.longAccumulator跟踪这个longAccumulator这个方法进去可以看到/** * Create and register a long accumulator, which starts with 0 and accumulates inputs by `add`. */def longAccumulator... 阅读全文
posted @ 2020-07-01 22:21 郭小白 阅读(766) 评论(0) 推荐(0) 编辑