Hadoop之MapReduce的计数器

代码存于github:https://github.com/zuodaoyong/Hadoop Hadoop作业在运行时维护了若干个内置计数器,方便用户监控已处理数据量和已产生的输出数据量 1、采用枚举的方式统计计数 Counter getCounter(Enum<?> var1); enum CustomCounter{ normal,abnormal } context.getCount
相关文章
相关标签/搜索