Hadoop Next Gen YARN Architecture

Map Reduce on YARN Framework:
YARN is Yet Another Resource Negotiator.

yarn 2


  1. Clients submit MapReduce job by interacting with Job objects, clients runs in its own JVM.
  2. Job’s code interact with Resource Manager to acquire application metadata such as application id.
  3. Job’s code move all job related resources to HDFS to make them available for rest of the job.
  4. Job’s code submits the application to Resource Manager.
  5. Resource Manager choses a Node manager with available resources and requests a container for MRAppMaster.
  6. Node manager allocates container for MRAppMaster; MRAppMaster will execute and co-ordinate MapReduce Job
  7. MRAppMaster grabs required resources from HDFS, such as input splits; these resources were copied in step 3.
  8. MRAppMaster negotiates with Resource Manager for available resources; Resource Manager will select Node Manager that has the most resources.
  9. MRAppMaster tells selected NodeManager to start Map and Reduce tasks.
  10. Node Manager creates YARN Child containers that will coordinate and run tasks.
  11. YARN Child acquires job resources from HDFS that will be required to execute Map and Reduce tasks.
  12. YARN Child executes Map and Reduce Tasks.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s