The ResourceManager's view
Being the master service, the ResourceManager service manages the following:
Cluster resources (nodes in the cluster)
Applications submitted to the cluster
Attempt of running applications
Containers running on cluster nodes
The ResourceManager service has its own view for different processes associated with YARN management and application execution of YARN. The following is the view of ResourceManager:
Node: This is the machine with the NodeManager daemon
Application: This is the code submitted by any client to the ResourceManager
Application attempt: This attempt is associated with the execution of any application
Container: This is the process running the business logic of the submitted application
View 1 – Node
The node view of ResourceManager manages the life cycle for NodeManager nodes within a cluster. For every node in the cluster, the ResourceManager maintains an RMNode
object. The states and event types of a node are defined in enumerations NodeState
and RMNodeEventType...