您当前的位置: 首页 >  hadoop

段智华

暂无认证

  • 0浏览

    0关注

    1232博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

第50课:HadoopMapReduce倒排索引解析与实战

段智华 发布时间:2016-02-23 21:59:51 ,浏览量:0

1数据文件

[root@master invertedindex]#cat file1.txt Spark is so powerful [root@master invertedindex]#cat file2.txt Spark is the most exciting thing happening in big data today [root@master invertedindex]#cat file3.txt Hello Spark Hello again Spark [root@master invertedindex]#

 

2、运行结果

[root@master invertedindex]# hadoop dfs -cat /library/outputinvertedindex4/part-r-00000 DEPRECATED: Use of this script to execute hdfs command is deprecated. Instead use the hdfs command for it.

16/02/23 08:51:13 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Hello   file3.txt:2 Spark   file3.txt:2;file1.txt:1;file2.txt:1 again   file3.txt:1 big     file2.txt:1 data    file2.txt:1 exciting        file2.txt:1 happening       file2.txt:1 in      file2.txt:1 is      fi

关注
打赏
1659361485
查看更多评论
立即登录/注册

微信扫码登录

0.1567s