<small id='f17He'></small><noframes id='f17He'>

        <legend id='f17He'><style id='f17He'><dir id='f17He'><q id='f17He'></q></dir></style></legend>

      1. <tfoot id='f17He'></tfoot>
      2. <i id='f17He'><tr id='f17He'><dt id='f17He'><q id='f17He'><span id='f17He'><b id='f17He'><form id='f17He'><ins id='f17He'></ins><ul id='f17He'></ul><sub id='f17He'></sub></form><legend id='f17He'></legend><bdo id='f17He'><pre id='f17He'><center id='f17He'></center></pre></bdo></b><th id='f17He'></th></span></q></dt></tr></i><div id='f17He'><tfoot id='f17He'></tfoot><dl id='f17He'><fieldset id='f17He'></fieldset></dl></div>

          <bdo id='f17He'></bdo><ul id='f17He'></ul>

        简单的 Java Map/Reduce 框架

        时间:2023-09-26
          <tbody id='tfVIi'></tbody>
            <i id='tfVIi'><tr id='tfVIi'><dt id='tfVIi'><q id='tfVIi'><span id='tfVIi'><b id='tfVIi'><form id='tfVIi'><ins id='tfVIi'></ins><ul id='tfVIi'></ul><sub id='tfVIi'></sub></form><legend id='tfVIi'></legend><bdo id='tfVIi'><pre id='tfVIi'><center id='tfVIi'></center></pre></bdo></b><th id='tfVIi'></th></span></q></dt></tr></i><div id='tfVIi'><tfoot id='tfVIi'></tfoot><dl id='tfVIi'><fieldset id='tfVIi'></fieldset></dl></div>
          1. <legend id='tfVIi'><style id='tfVIi'><dir id='tfVIi'><q id='tfVIi'></q></dir></style></legend>

            • <bdo id='tfVIi'></bdo><ul id='tfVIi'></ul>

              <small id='tfVIi'></small><noframes id='tfVIi'>

              1. <tfoot id='tfVIi'></tfoot>

                  本文介绍了简单的 Java Map/Reduce 框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  谁能告诉我一个简单的开源 Map/Reduce 框架/Java API?似乎没有太多证据表明存在这样的事情,但其他人可能知道不同.

                  Can anyone point me at a simple, open-source Map/Reduce framework/API for Java? There doesn't seem to much evidence of such a thing existing, but someone else might know different.

                  我能找到的最好的当然是 Hadoop MapReduce,但这不符合简单"标准.我不需要运行分布式作业的能力,只需要让我在多核机器上运行 map/reduce 风格的作业,在单个 JVM 中,使用标准的 Java5 风格并发.

                  The best I can find is, of course, Hadoop MapReduce, but that fails the "simple" criteria. I don't need the ability to run distributed jobs, just something to let me run map/reduce-style jobs on a multi-core machine, in a single JVM, using standard Java5-style concurrency.

                  自己写并不难,但我宁愿不用.

                  It's not a hard thing to write oneself, but I'd rather not have to.

                  推荐答案

                  我认为值得一提的是,这些问题是 Java 8 的历史.举个例子:

                  I think it is worth mentioning that these problems are history as of Java 8. An example:

                  int heaviestBlueBlock =
                      blocks.filter(b -> b.getColor() == BLUE)
                            .map(Block::getWeight)
                            .reduce(0, Integer::max);
                  

                  换句话说:单节点 MapReduce 在 Java 8 中可用.

                  有关详细信息,请参阅 Brian Goetz 的关于项目 lambda 的介绍

                  For more details, see Brian Goetz's presentation about project lambda

                  这篇关于简单的 Java Map/Reduce 框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Hadoop 1.2.1 - 多节点集群 - Wordcount 程序的减速器阶 下一篇:不推荐使用 MapReduceBase 和 Mapper

                  相关文章

                  最新文章

                  <legend id='9AEmT'><style id='9AEmT'><dir id='9AEmT'><q id='9AEmT'></q></dir></style></legend>

                    <i id='9AEmT'><tr id='9AEmT'><dt id='9AEmT'><q id='9AEmT'><span id='9AEmT'><b id='9AEmT'><form id='9AEmT'><ins id='9AEmT'></ins><ul id='9AEmT'></ul><sub id='9AEmT'></sub></form><legend id='9AEmT'></legend><bdo id='9AEmT'><pre id='9AEmT'><center id='9AEmT'></center></pre></bdo></b><th id='9AEmT'></th></span></q></dt></tr></i><div id='9AEmT'><tfoot id='9AEmT'></tfoot><dl id='9AEmT'><fieldset id='9AEmT'></fieldset></dl></div>
                    • <bdo id='9AEmT'></bdo><ul id='9AEmT'></ul>
                    <tfoot id='9AEmT'></tfoot>

                    <small id='9AEmT'></small><noframes id='9AEmT'>