The running flow of the Hadoop Note's MapReduce

Source: Internet
Author: User
The running process of MapReduce The running process of MapReduce

Basic concepts:

  • Job&task: To complete a job, it will be divided into a number of task,task and divided into Maptask and Reducetask
  • Jobtracker
  • Tasktracker
Hadoop MapReduce Architecture

The role of Jobtracker

  1. Job scheduling
  2. Assign tasks, monitor task execution progress
  3. Monitor the status of Tasktracker
The role of Tasktracker
  1. Perform tasks
  2. Reporting task status
MapReduce Job Execution Process

The fault tolerant mechanism of mapreduce

  1. Repeated execution
    Errors can be a hardware problem, or it may be a problem with the data, the first will be repeated execution, if repeated 4 times or errors, then give up

  2. Speculative execution
    When the map end is counted, a particular node may appear to be particularly slow. This time jobtracker may think that the node is particularly slow may be a problem, then this time will be increased by a tasktracker execution, two nodes who first counted, the other task calculation discarded

The running flow of the Hadoop Note's MapReduce

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.