Figure 1.
Example YARN Architecture showing two clients submitting jobs to the Resource Manager (RM), which launches two client Application Master (AM) instances on two Node Managers (NM). Each AM requests containers from the RM, which allocates the containers based on available resources reported from its NMs. If supported by the application, tasks running on containers report status to the respective AM.