Hadoop Tutorial (vii) sorting in shuffle

Source: Internet
Author: User
Tags shuffle sort

1.map write to buffer time, pre-order (for the back of the fast row)

2.spill, two times, Fast platoon.

3. Again according to Partioner sort, each partioner in accordance with key sort

4. All spill files will be merged into an index file and a data file before the map task is completed

5. When all the map outputs are copied, the Reduce task enters the sorting phase (more appropriately the merge phase, since the sort is done on the map side), which merges all the map outputs, which can be repeated several times to complete

There are about 5 sort of

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/webkf/tools/

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.