Components and Architecture

Components and Architecture

YARN’s architecture comprises three main components:

  1. ResourceManager (RM): Acts as the master daemon, managing and allocating cluster resources. It comprises two main parts:
    • Scheduler: Allocates resources based on application requirements and policies.
    • ApplicationManager: Manages job submissions and coordinates with NodeManagers.
  2. NodeManager: It is an application that is executed in the data nodes to coordinate the running of containers.
  3. ApplicationMaster (AM): This is the component that is tasked with negotiating with the ResourceManager and either the NodeManager(s) to launch and monitor the tasks. It has a data computation framework provided by the ResourceManager and a per-node slave NodeManager. The ApplicationMaster is included in the application framework package.

Explain the role of YARN (Yet Another Resource Negotiator) in Hadoop.

Hadoop is a Java-based framework that is developed in the Apache software environment for storing and processing very large and complex data using the MapReduce technique. YARN or Yet Another Resource Negotiator is one of the components of Hadoop which provides an interface for multiple data processing engines to interact with Hadoop by introducing a separation between resource management and job scheduling/monitoring.

Similar Reads

Definition and Purpose of YARN

YARN stands for Yet Another Resource Negotiator for Hadoop. Originally developed for Hadoop 2.0, YARN improved the MapReduce implementation and made it possible for Hadoop to handle a greater variety of data processing tasks. In simpler terms, YARN is the means by which clusters, resources, and jobs are managed in Hadoop. This means that the Hadoop can accommodate various data processing engines such as Interactive SQL, real-time streaming, and batch processing besides MapReduce thus expanding the opportunities for use of the platform....

Components and Architecture

Components and Architecture...

Role of YARN (Yet Another Resource Negotiator) in Hadoop

YARN (Yet Another Resource Negotiator) which is a core part of Hadoop that helps in boosting the architecture by effectively coordinating the resources and job scheduling . Here are the key roles of YARN in Hadoop:Here are the key roles of YARN in Hadoop:...

Conclusion

YARN enabled Hadoop to be utilized for interactive and on-going data processing in addition to the batch processing with MapReduce. It has made it possible for Hadoop to handle more than one application at the same time on the same foundation which has in turn improved the utilization of the resources while at the same time giving the best application optimization between the programs. YARN is an inherent feature of Hadoop for big data in an enterprise environment....

Explain the role of YARN (Yet Another Resource Negotiator) in Hadoop – FAQs

Explain four main components of YARN....

Contact Us