MapReduce Job Run

Source: Internet
Author: User

    • Client: Submit a MapReduce job
    • YARN Resouce Manager, coordinating cluster computing resource allocation
    • YARN Node Manager, generating and monitoring containers on machines in the cluster
    • MapReduce Application Master, coordinates the task running in the MapReduce job
    • HDFS, used to share job files and other instances

Job Submission

    • Ask resource Manager to get a new app ID to use as the MapReduce job ID
    • Check the output of the job specifies that an error is thrown if the file already exists or the output is unspecified
    • Computes the input split, if the split cannot be calculated by dropping an error
    • Copy the resource to run the job, including the job's jar file, configuration file, compute input split into the shared file system, named after the job ID. The job jar is replicated with a high backup so that multiple NodeManager can run at run time
    • Call Submitapplication () at Resource Manager to submit the task

Job initialization

    • When resource Manager receives the Submitapplication () method that calls it, it assigns it to yarn Scheduler,scheduler to assign a container, and the resource manager Generates a application master process where it is under Node Manager's management.
    • For MapReduce jobs,application Master is a Java application The main class is mrappmaster.

  

MapReduce Job Run

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.