MRV1:
This request is managed by Jobtracker when a client makes a request to a Hadoop cluster. Jobtracker with NameNode to distribute the work to the closest possible location to the data it is working with. NameNode is the main system of the file system, providing metadata services to perform data distribution and replication. Jobtracker the Map and Reduce tasks to an available slot on one or more tasktracker. Tasktracker and DataNode (Distributed File System) perform Map and Reduce tasks with data from DataNode. When the Map and Reduce tasks are completed, Tasktracker informs Jobtracker that it determines when all tasks are completed and ultimately informs the client that the job is complete.
MRV2:
The essence of YARN layered structure is ResourceManager. This entity controls the entire cluster and manages the allocation of the application to the underlying computing resources. ResourceManager arranges the various resource parts (compute, memory, bandwidth, etc.) to the base NodeManager (per-node agent of YARN). ResourceManager also allocates resources together with Applicationmaster to launch and monitor their underlying applications together with NodeManager. In this context, Applicationmaster assumed some of the roles of previous Tasktracker, ResourceManager assumed the role of Jobtracker.
Hadoop V1 and V2 understanding