From below link of Apache Hadoop site, I learn that
ApplicationMaster has the responsibility of negotiating appropriate resource containers from the Scheduler (ResourceManager)
and also learn that
ApplicationsManager negotiating the
first container
for executing the ApplicationMaster
Link : http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/YARN.html
So here is my confusion.
- If
ApplicationMaster
has the responsilibility to requestResourceManager
forContainer
, then Who is creating thefirst container
and what is the process to create thefirst container
for executing theApplicationMaster
? - Is there anyone giving and request to create the
first container
? - What are the resonsibilities of the
first Container
?First Container
only executes theApplicationMaster
or it is also behaving like other Resource Container?
Please let me know if anyone has the idea regarding this.