摘要: 一、准备 1.1 下载插件 链接: https://pan.baidu.com/s/15ol7KuQ4mNeAro_pCTnjDA 提取码: 7fq3 1.1.1 将hadoop-eclipse-plugin-2.7.3.jar 放到eclipse的plugins中 1.1.2 把编译后的文件放到h 阅读全文
posted @ 2020-03-05 18:03 THEROC 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 一,准备 1.1导入相关jar包 1.2准备数据源 我选了一首歌 二、相关代码 2.1 Map类 public class WordCountMapper extends Mapper<LongWritable, Text, Text, IntWritable>{ private static Li 阅读全文
posted @ 2020-03-05 18:01 THEROC 阅读(247) 评论(0) 推荐(0) 编辑