Cheap VPS host selection
Provide server host evaluation information

Introduction to the role of node manager in yarn architecture

In the Yarn architecture, Node Manager is a component running on each data node, which is responsible for managing and monitoring the resources and task execution on the node.

The main functions of Node Manager include:

  1. Resource management: The node manager reports the available resources on the node to the resource manager by communicating with the resource manager. It will regularly send heartbeat information to the resource manager to update the cluster resource status. The resource manager schedules global resources according to these information, and allocates the corresponding resources to the node manager to execute jobs.
  2. Container startup and monitoring: The node manager is responsible for starting and monitoring the container for computing tasks. When the resource manager schedules a job to a node, The Node Manager will create a special container for the job, then start the container and monitor its running status. It checks the health of the container. If the container fails or exceeds the predetermined resource limit, The node manager terminates the container and reports the situation to the resource manager.
  3. Local resource management: Node Manager is responsible for local management and maintenance of local resources on the node, such as local disk, local cache, etc. It can help applications access and use these local resources, thus improving job performance and efficiency.
  4. Security and authentication: The Node Manager is responsible for authenticating the container in the security mode and ensuring that only authorized users or applications can perform tasks on the node. It integrates with security modules (such as Kerberos) to ensure the security and credibility of the job.

In short, The Node Manager is a key component running on data nodes in the Yarn architecture, and is responsible for resource management, container startup and monitoring, local resource management, and security functions. By working with Explorer, The Node Manager can coordinate and manage the computing resources on the node, so that jobs can be executed efficiently in the cluster.

Do not reprint without permission: Cheap VPS evaluation » Introduction to the role of node manager in yarn architecture