On a cluster level, Yarn consists of:
The ResourceManager is the (head|leader) process that arbitrates resources among all the applications in the system. (The Scheduler is part of the resource manager).
The NodeManager (Resource manager agent) is responsible for: