通过hadoop自带的demo运行单词统计
2017-07-28 09:57
429 查看
1)mkdir input 2)cd intput 3)echo “hello word” > file1.txt 4)echo “hello hadoop” > file2.txt 5)echo “hello mapreduce” >> file2.txt 6) more file2.txt 7) hadoop fs -mkdir /wc_input 8) hadoop fs -ls / 9) hadoop fs -put ~/input/fi* /wc_input 10)hadoop fs -ls /wc_input 11) hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.3.jar wordcount /wc_input /output 12)hadoop fs -ls /output 13)hadoop fs -cat /output/part-r-00000 |
相关文章推荐
- 通过hadoop自带的demo运行单词统计
- hadoop基础----hadoop实战(三)-----hadoop运行MapReduce---对单词进行统计--经典的自带例子wordcount
- hadoop基础----hadoop实战(三)-----hadoop运行MapReduce---对单词进行统计--经典的自带例子wordcount
- 运行Hadoop自带的wordcount单词统计程序
- Hadoop Demo 1 ——WordCount 统计文章中单词的个数
- Linux巩固记录(4) 运行hadoop 2.7.4自带demo程序验证环境
- hadoop运行简单例子--单词统计
- Hadoop 运行 yarn jar 单词统计问题解决
- 第六篇:Eclipse上运行第一个Hadoop实例 - WordCount(单词统计程序)
- 在Linux系统设置共享文件夹、Hadoop单机/伪分布部署,运行Hadoop Wordcount单词统计实例
- Hadoop运行单词统计
- Hadoop Demo(一)【统计文件中单词出现的频率】
- 通过JDK自带的命令解决程序运行缓慢,tomcat内存泄露问题(待续)
- hadoop hellokitty 单词统计
- Hadoop读书笔记(五)MapReduce统计单词demo
- (13) Hadoop Java 实现MapReduce HelloWord 单词统计 更新版 2
- hadoop实例分析之WordCount单词统计分析
- Hadoop的简单单词统计案例
- 转载:Hadoop自带benchmark运行与测试