Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图找出如何迭代 map reduce 操作的最终结果,所以我猜 map reduce 结果中必须有某种索引?
对于 Hadoop MapReduce,Reduce 阶段的输出是一个按键排序的文件。要在 Hadoop 中迭代 MapReduce 作业的结果,您需要编写自己的代码来读取这些文件,或者使用另一个 MapReduce 作业。这取决于你想对结果做什么。
作业将创建的文件类型是可配置的,因此它可以是纯文本文件或序列文件。