If we refer to Hadoop 1.x in the first figure of this chapter, then it is clear that the responsibilities of the JobTracker mainly included the following:
Clearly, the JobTracker alone does a lot of tasks together and is overloaded with lots of work.
This overloading of the JobTracker led to the redesign of the JobTracker, and YARN tried to reduce the responsibilities of the JobTracker in the following ways:
The Global Resource Manager is seen in the following image:
If you look at the preceding figure, you will clearly see the disappearance of the single centralized JobTracker; its place is taken by a Global Resource Manager.
Also, for each job a tiny, dedicated JobTracker is created, which monitors the tasks specific to its job. This tiny JobTracker is run on the slave node.
This tiny, dedicated JobTracker is termed an ApplicationMaster in the new framework (refer to the following figure).
Also, the TaskTrackers are referred to as NodeManagers in the new framework.
Finally, looking at the JobTracker redesign (in the following figure), we can clearly see that the JobTracker's responsibilities are broken into a per-cluster ResourceManager and a per-application ApplicationMaster:
3.19.211.134