Understanding ResourceManager
ResourceManager is the core component of the YARN framework, which is responsible for managing the resources of a multinode cluster. It facilitates the resources allocation and bookkeeping for a distributed application running across multiple nodes of a YARN cluster. It works with a per node daemon called NodeManager and a per application service called ApplicationMaster. It manages resources across the cluster and executes YARN applications.
ResourceManager has several subcomponents that assist it in the efficient management of a multinodes cluster with thousands of distributed, resource exhaustive and time-bound applications running in parallel. This is shown in the following figure:
The client and admin interfaces
ResourceManager exposes methods to clients and cluster administrators for RPC communications to the ResourceManager and for accepting admin commands on priority. Here are the two classes that are used for communication to ResourceManager:
ClientRMService...