hadoop
静静七分醉
该动手的年龄别只动脑
展开
-
Hadoop之MapReduce入门经典案列三:ip去重
文件内容:10.9.80.1610.9.132.11110.9.152.6510.9.21.11910.9.132.11110.9.130.8310.9.80.1610.9.152.6510.9.162.1310.9.162.13310.9.21.11910.9.132.11110.9.130.8310.9.80.13310.9.129.8610.9.132.1...原创 2019-07-01 21:24:28 · 1231 阅读 · 0 评论 -
Hadoop之MapReduce入门经典案列二:统计这个文件中字母和非字母出现的次数
文件内容:I am happy to join with you today in what will go down in history as the greatest demonstration for freedom in the history of our nation.Five score years ago, a great American, in whose symbo...原创 2019-07-01 21:23:22 · 1036 阅读 · 0 评论 -
Hadoop之MapReduce入门经典案列一:统计文件中每一个字符出现的次数
文件内容hello tom hello bobhello joyhello rosehello joyhello jerryhello tomhello rosehello joy代码实现:1.Mapperpackage com.lj.charcount1;import java.io.IOException;import org.apache.had...原创 2019-07-01 21:22:55 · 1402 阅读 · 0 评论 -
Hadoop之MapReduce入门经典案列四:找出每一个人的最高成绩,总成绩
文件内容:Bob 684Alex 265Grace 543Henry 341Adair 345Chad 664Colin 464Eden 154Grover 630Bob 340Alex 367Grace 567Henry 367Adair 664Chad 543Colin 574Eden 663Grover 614Bob 312Alex 513Gra...原创 2019-07-01 21:24:55 · 2664 阅读 · 0 评论