摘要: MapTask类 在MapTask类中找到run函数 if(useNewApi){ runNewMapper(job, splitMetaInfo, umbilical, reporter); } 再找到runNewMapper @SuppressWarnings("unchecked") priv 阅读全文
posted @ 2016-08-08 17:50 旅鼠 阅读(1569) 评论(0) 推荐(0) 编辑
摘要: Job类 /** * Define the comparator that controls which keys are grouped together * for a single call to * {@link Reducer#reduce(Object, Iterable, * org. 阅读全文
posted @ 2016-08-08 10:55 旅鼠 阅读(1583) 评论(0) 推荐(0) 编辑
摘要: Job类 /** * Define the comparator that controls * how the keys are sorted before they * are passed to the {@link Reducer}. * @param cls the raw compara 阅读全文
posted @ 2016-08-08 09:43 旅鼠 阅读(1238) 评论(0) 推荐(0) 编辑