会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
郭小白
博客园
首页
新随笔
联系
订阅
管理
2020年7月1日
自定义Spark累加器
摘要: 一、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)
编辑
公告