Working Mechanism of Map-Reduce

Source: Internet
Author: User

Mapper

The idea of "map-reduce" is "divide and conquer"

Mapper is responsible for "dividing" the complex tasks into several "simple tasks" for execution.

There are several meanings of "simple tasks": 1. The data or computing scale is greatly reduced compared with the original task;

2. Nearby computation is allocated to the node that stores the required data for computation.

3. These small tasks can be computed in parallel without mutual dependency.

Reduce

? Summarize the results of the map stage
? The number of reducers is determined by the Project mapred. Reduce. Tasks in the mapred-site.xml configuration file. Missing
The saved value is 1, which can be overwritten by the user

 

Shuffler

? A step in the middle of Mapper and reducer (can be left blank)
? You can split and combine the Mapper output into N parts according to a certain key value, and match the key value with a certain range.
The output is sent to a specific CER for processing.
? The CER process can be simplified.

 

Working Mechanism of Map-Reduce

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.