Hadoop authoritative guide-Reading Notes hadoop Study Summary 3: Introduction to map-Reduce hadoop one of the learning summaries of hadoop: HDFS introduction (ZZ is well written)

Source: Internet
Author: User

Chapter 2 mapreduce Introduction

An ideal part size is usually the size of an HDFS block. The execution node of the map task and the storage node of the input data are the same node, and the hadoop performance is optimal (Data Locality optimization, avoid data transmission over the network ).
Mapreduce Process summary: reads a row of data from a file, map function processing, Return key-value pairs; the system sorts the map results. If there are multiple reducers, the map task will partition the output, create a partition for each reduce task. If a combiner is specified, the combiner is run after map, and the result of combiner is passed to Cer. combiner can reduce the amount of data transmitted between map and reduce. Reducer first needs to shuffle the received data, and then run the reducer function to return the result. (For details, refer to the description and diagram in section 2.4 .) CodeSee the code 2.3.2.

For details, see hadoop Study Summary 3: Map-Reduce

 

Chapter 3 hadoop Distributed File System

For details, refer to one of the hadoop learning summaries: HDFS introduction (ZZ is well written)

 

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.