The application master is the master process of a YARN application.
When an application is started, the application master is contacted by the client. The application master then informs the resource manager about the requested resources. It then asks the node managers to create the containers.