<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: can applicationMaster directly communicate with containers(once they got allocated) which resides in different nodes? If yes , how? Thank you. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/can-applicationMaster-directly-communicate-with-containers/m-p/225816#M187677</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/253/ssathish.html" nodeid="253"&gt;@ssathish&lt;/A&gt; Thank you!
I'm having few more doubts, &lt;/P&gt;&lt;P&gt;1. As mentioned in this link &lt;A href="https://hortonworks.com/blog/apache-hadoop-yarn-concepts-and-applications"&gt;https://hortonworks.com/blog/apache-hadoop-yarn-concepts-and-applications&lt;/A&gt;/  it says "The application code executing within the container then provides necessary information (progress, status etc.) to its ApplicationMaster via an &lt;EM&gt;application-specific protocol&lt;/EM&gt;.", so how the application master monitor the status of containers which are running on different node than applicatioMaster.&lt;/P&gt;&lt;P&gt;2. Also as you mentioned its nodemanager which will communicate with container, so can nodemanager directly communicate with containers which are running on different nodes or it will go through RM to get container information.
&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2017 15:45:45 GMT</pubDate>
    <dc:creator>gdhawas</dc:creator>
    <dc:date>2017-06-27T15:45:45Z</dc:date>
    <item>
      <title>can applicationMaster directly communicate with containers(once they got allocated) which resides in different nodes? If yes , how? Thank you.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/can-applicationMaster-directly-communicate-with-containers/m-p/225814#M187675</link>
      <description />
      <pubDate>Mon, 26 Jun 2017 15:40:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/can-applicationMaster-directly-communicate-with-containers/m-p/225814#M187675</guid>
      <dc:creator>gdhawas</dc:creator>
      <dc:date>2017-06-26T15:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: can applicationMaster directly communicate with containers(once they got allocated) which resides in different nodes? If yes , how? Thank you.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/can-applicationMaster-directly-communicate-with-containers/m-p/225815#M187676</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/16223/gdhawas.html" nodeid="16223"&gt;@Gunjan Dhawas&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;No, ApplicationMaster doesnot directly communicate with the containers. Its the nodemanagers which communicate directly with the containers. NodeManager's core part is containerManagement.&lt;/P&gt;&lt;P&gt;ApplicationMaster, framework specific entity is responsible for negotiating resources from the ResourceManager and working with the NodeManager(s) to execute and monitor the containers and their resource consumption&lt;/P&gt;&lt;P&gt;More information on Nodemanager and AM - &lt;A href="https://hortonworks.com/blog/apache-hadoop-yarn-nodemanager/" target="_blank"&gt;https://hortonworks.com/blog/apache-hadoop-yarn-nodemanager/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hortonworks.com/blog/apache-hadoop-yarn-concepts-and-applications/" target="_blank"&gt;https://hortonworks.com/blog/apache-hadoop-yarn-concepts-and-applications/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 01:34:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/can-applicationMaster-directly-communicate-with-containers/m-p/225815#M187676</guid>
      <dc:creator>ssathish</dc:creator>
      <dc:date>2017-06-27T01:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: can applicationMaster directly communicate with containers(once they got allocated) which resides in different nodes? If yes , how? Thank you.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/can-applicationMaster-directly-communicate-with-containers/m-p/225816#M187677</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/253/ssathish.html" nodeid="253"&gt;@ssathish&lt;/A&gt; Thank you!
I'm having few more doubts, &lt;/P&gt;&lt;P&gt;1. As mentioned in this link &lt;A href="https://hortonworks.com/blog/apache-hadoop-yarn-concepts-and-applications"&gt;https://hortonworks.com/blog/apache-hadoop-yarn-concepts-and-applications&lt;/A&gt;/  it says "The application code executing within the container then provides necessary information (progress, status etc.) to its ApplicationMaster via an &lt;EM&gt;application-specific protocol&lt;/EM&gt;.", so how the application master monitor the status of containers which are running on different node than applicatioMaster.&lt;/P&gt;&lt;P&gt;2. Also as you mentioned its nodemanager which will communicate with container, so can nodemanager directly communicate with containers which are running on different nodes or it will go through RM to get container information.
&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 15:45:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/can-applicationMaster-directly-communicate-with-containers/m-p/225816#M187677</guid>
      <dc:creator>gdhawas</dc:creator>
      <dc:date>2017-06-27T15:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: can applicationMaster directly communicate with containers(once they got allocated) which resides in different nodes? If yes , how? Thank you.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/can-applicationMaster-directly-communicate-with-containers/m-p/225817#M187678</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/16223/gdhawas.html" nodeid="16223"&gt;@Gunjan Dhawas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For point 2 - Also as you mentioned its nodemanager which will communicate with container, so can nodemanager directly communicate with containers which are running on different nodes or it will go through RM to get container information.&lt;/P&gt;&lt;PRE&gt;Nodemanagers are basically YARN’s per-node agent, and takes care of the individual compute nodes in a Hadoop cluster. This includes keeping up-to date with the ResourceManager (RM), overseeing containers’ life-cycle management; monitoring resource usage (memory, CPU) of individual containers, tracking node-health, log’s management and auxiliary services which may be exploited by different YARN applications.

 So Nodemanagers are the nodes on which containers are launched. So yes, nodemanagers directly monitors the containers and their resource consumption.&lt;/PRE&gt;&lt;P&gt;For point 1 - "The application code executing within the container then provides necessary information (progress, status etc.) to its ApplicationMaster via an &lt;EM&gt;application-specific protocol&lt;/EM&gt;.", so how the application master monitor the status of containers which are running on different node than applicatioMaster.&lt;/P&gt;&lt;PRE&gt;Once the applicationMaster negotiates the resources with RM, it will launch the container by providing container launch specification to the NodeManager.  The launch specification includes the necessary information to allow the container to communicate with the ApplicationMaster itself. Thus ApplicationMaster gets the progress/status via application-specific protocol provided in the container launch specification 
&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Jun 2017 01:44:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/can-applicationMaster-directly-communicate-with-containers/m-p/225817#M187678</guid>
      <dc:creator>ssathish</dc:creator>
      <dc:date>2017-06-28T01:44:30Z</dc:date>
    </item>
  </channel>
</rss>

