In the documentation and papers about Apache YARN, they say that an
Application Master is launched for every application and it is this that
manages resources and scheduling for applications on Hadoop.
For example, if you submit 3 MapReduce jobs, and 2 Giraph jobs to your
cluster, does the Resource Manager spawn 2 AMs (one to manage all MapReduce
jobs and one to manage all Giraph jobs) or does it spawn 5 AMs (one for