inverted-index-mapreduce:倒排索引的Mapreduce代码

时间:2021-06-08 21:54:32
【文件属性】:
文件名称:inverted-index-mapreduce:倒排索引的Mapreduce代码
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-08 21:54:32
Java #MapReduce 倒排索引 这是获取倒排索引的示例 MapReduce 代码 输入文件格式 推文ID,主题标签 将输入文件复制到 HDFS hadoop fs -copyFromLocal $HOME/sampleInput.txt /sampleInput.txt 执行 MapReduce 作业 hadoop jar /target/inverted-index-example-1.0.jar com.hadoop.example.InvertedIndexJob /sampleInput.txt /output/inverted 将输出复制到本地文件系统 hadoop dfs -getmerge /output/inverted $HOME/output/inverted.txt MapReduce 任务的输出 hashtag1,tweetId_1 tweetId_2 hasht
【文件预览】:
inverted-index-mapreduce-master
----src()
--------test()
--------main()
----README.md(594B)
----pom.xml(3KB)
----.gitignore(327B)

网友评论