摘要: 我在虚拟机上搭建Hadoop-2.7.1,使用本地Windows上IDEA连接操作,windows上并未安装hadoop。 遇到的几个连接的问题: 1. 提交时报告winutils.exe缺失,并且有java.lang.NullPointerException 下载winutils.exe (htt 阅读全文
posted @ 2020-02-29 20:38 Fantasyllu 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 在看MapReduce的内容时讲到Mapper和Reducer中的设计模式为模板模式。 如下是Mapper: public class Mapper<KEYIN, VALUEIN, KEYOUT, VALUEOUT> { /** * The <code>Context</code> passed o 阅读全文
posted @ 2020-02-29 16:14 Fantasyllu 阅读(235) 评论(0) 推荐(0) 编辑