The YARN application workflow

Now, take a look at the following sequence diagram that describes the YARN application workflow and also explains how container allocation is done for an application via the ApplicationMaster:

The YARN application workflow

Refer to the preceding diagram for the following details:

  • The client submits the application request to the ResourceManager.
  • The ResourceManager registers the application with the ApplicationManager, generates the ApplicationID, and responds to the client with the successfully registered ApplicationID.
  • Then, the ResourceManager starts the client's ApplicationMaster in a separate available container. If no container is available, then ...

Get YARN Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.