特牛网址导航

13)Hadoop之MapReduce(扩展案例)_extends mapper<longwritable, text, text, text>-CSDN博客

网友收藏
文章浏览阅读150次。倒排索引案例(多job串联)需求及分析:有大量的文本(文档,网页),需要建立搜索索引(如下图所示)第一次处理:(1)第一次处理,编写OneIndexMapper类public class OneIndexMapper extends Mapper<LongWritable, Text, Text, IntWritable>{ String name; T..._extends mapper