MapReduce algorithm Form VI: Only map to fight alone

Source: Internet
Author: User
Tags shuffle

Case SIX: Map direct output alone

Never used this map to output the mode alone, even if the output of some simple I will pass the reduce output, but found that the map output is a bit different from what I expected, I always thought that the shuffle process will be at the end of the map, reduce the beginning of the There will be a merger, but shuffle only do the division, sorting, and then directly listed out, this is a rise posture, before the merger of understanding, the return is a bit of a problem, indeed, Grandpa said the practice can come out the truth ~ ~ (Salute to Grandpa Mao, salute)

The code is very simple, there is nothing to explain, but the results have to be well-figured out, to see what can be used later, back to fill this problem ~ ~

MapReduce algorithm Form VI: Only map to fight alone

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.