03 2020 档案

摘要:一、安装操作系统(Centos 74) 二、下载软件 yum install -y wget 三、配置yum源 1、阿里云镜像站 https://developer.aliyun.com/mirror/ 2、备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/y 阅读全文
posted @ 2020-03-12 14:54 羊想蓝天 阅读(221) 评论(0) 推荐(0)
摘要:一、下载插件hadoop-eclipse-plugin-2.7.3,将插件放在eclipse的plugins目录下。 链接地址:https://pan.baidu.com/s/1nuCoe0L#list/path=%2F 二、Windows编译后的文件放在hadoop的bin目录下 三、添加hado 阅读全文
posted @ 2020-03-05 14:21 羊想蓝天 阅读(509) 评论(0) 推荐(0)
摘要:一、导入jia包 需要导入common,hdfs以及mapreduce下的所有jar包 二、代码实现诗词出现字数统计 先在桌面上创建一个文本文档(明月几时有.txt),内容为一首诗词 在eclipse新建三个类:WordCountMapper、WordCountReducer、WordCountDr 阅读全文
posted @ 2020-03-04 15:20 羊想蓝天 阅读(513) 评论(0) 推荐(1)