Question: how yarn works in hadoop?
Answer: YARN keeps track of two resources on the cluster, vcores and memory. ... An ApplicationMaster which provides YARN with the ability to perform allocation on behalf of the application. One or more tasks that do the actual work (runs in a process) in the container allocated by YARN.