Hadoop JobTracker and TaskTracker

Source: Internet
Author: User

JobTracker and TaskTracker

JobTracker corresponds to NameNode

TaskTracker corresponds to DataNode

DataNode and NameNode are for data storage.

JobTracker and TaskTracker are for MapReduce execution.

Mapreduce has several main concepts. mapreduce can be divided into several execution clues as a whole:

Jobclient, JobTracker, and TaskTracker.

1. JobClient will package the configured parameters of the application into a jar file on the client side through the JobClient class and store the file in hdfs. Then, submit the path to Jobtracker, then, JobTracker creates each Task (MapTask and ReduceTask) and distributes them to various TaskTracker services for execution.

2. JobTracker is a master service. After the software is started, JobTracker receives the Job and is responsible for scheduling each subtask task of the Job to run on TaskTracker and monitoring them, if a failed task is found, run it again. Generally, JobTracker should be deployed on a separate machine.

3. TaskTracker is an slaver service running on multiple nodes. TaskTracker actively communicates with JobTracker, receives jobs, and executes each task directly.

TaskTracker must all run on HDFS DataNode.

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.