<?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: Mapreduce job hang, waiting for AM container to be allocated. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167867#M25094</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; &lt;/P&gt;&lt;P&gt;How to find which disk is marked as bad?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2016 14:01:15 GMT</pubDate>
    <dc:creator>Nilesh</dc:creator>
    <dc:date>2016-04-14T14:01:15Z</dc:date>
    <item>
      <title>Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167859#M25086</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Job hang while importing tables via sqoop shown following message in web UI.&lt;/P&gt;&lt;P&gt;ACCEPTED: waiting for AM container to be allocated, launched and register with RM&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3413-sqoop-mapreduce.jpg" style="width: 1127px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20263iF7D2BD97BD841277/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3413-sqoop-mapreduce.jpg" alt="3413-sqoop-mapreduce.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:04:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167859#M25086</guid>
      <dc:creator>Nilesh</dc:creator>
      <dc:date>2019-08-18T11:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167860#M25087</link>
      <description>&lt;P&gt;Hi, Nilesh. Have you checked the yarn scheduler? Is the default queue out of resource?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 20:04:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167860#M25087</guid>
      <dc:creator>vxu</dc:creator>
      <dc:date>2016-04-13T20:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167861#M25088</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1496/nileshpatil.html" nodeid="1496"&gt;@Nilesh&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I will suggest yo revisit your yarn memory configuration once. Seems you might be running out of memory.&lt;/P&gt;&lt;P&gt;Can you please let me know what values you have set for yarn.scheduler.capacity.maximum-am-resource-percent ?&lt;/P&gt;&lt;P&gt;If possible please attach -&lt;/P&gt;&lt;P&gt;1. Yarn RM UI snap&lt;/P&gt;&lt;P&gt;2. yarn-site.xml&lt;/P&gt;&lt;P&gt;3. mapred-site.xml&lt;/P&gt;&lt;P&gt;4. Scheduler snap from RM UI - &lt;/P&gt;&lt;P&gt;&lt;A href="http://&amp;lt;RM-Hostname&amp;gt;:8088/cluster/scheduler" target="_blank"&gt;http://&amp;lt;RM-Hostname&amp;gt;:8088/cluster/scheduler&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 20:10:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167861#M25088</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-04-13T20:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167862#M25089</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648" target="_blank"&gt;@Sagar Shimpi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;yarn.scheduler.capacity.maximum-am-resource-percent=0.2&lt;/P&gt;&lt;P&gt;Kindly find attached file for reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3415-scheduler-snap.jpg" style="width: 1346px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20261i64B16078CD30BDD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3415-scheduler-snap.jpg" alt="3415-scheduler-snap.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3418-yarn-memory.jpg" style="width: 802px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20262iACDE2B8E7BBD7D3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3418-yarn-memory.jpg" alt="3418-yarn-memory.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3416-yarn-site.xml" target="_blank"&gt;yarn-site.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3417-mapred-site.xml" target="_blank"&gt;mapred-site.xml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:04:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167862#M25089</guid>
      <dc:creator>Nilesh</dc:creator>
      <dc:date>2019-08-18T11:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167863#M25090</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1496/nileshpatil.html" nodeid="1496"&gt;@Nilesh&lt;/A&gt; From the resource manager UI i see there are no "Active Nodes" running and hence the "Total Memory" in UI is displaying 0.&lt;/P&gt;&lt;P&gt;Can you check if your node managers are UP and communicating to RM.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 21:56:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167863#M25090</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-04-13T21:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167864#M25091</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1496/nileshpatil.html" nodeid="1496"&gt;@Nilesh&lt;/A&gt;&lt;P&gt;There are 2 unhealthy nodes, if you click on "2" under unhealthy nodes section, you will get reason why they are unhealthy, it could be because of bad disk etc. Please check and try to check nodemanager's logs, you will get more info in there. &lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 01:23:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167864#M25091</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-04-14T01:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167865#M25092</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648"&gt;@Sagar Shimpi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Issue has been resolved by changing below parameter in yarn-site.xml&lt;/P&gt;&lt;P&gt;yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage &lt;/P&gt;&lt;P&gt;Previously it was 90% I changed it to 99  Now Job is in running state.&lt;/P&gt;&lt;P&gt;Could you please shed some light on this parameter.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 13:33:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167865#M25092</guid>
      <dc:creator>Nilesh</dc:creator>
      <dc:date>2016-04-14T13:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167866#M25093</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1496/nileshpatil.html" nodeid="1496"&gt;@Nilesh&lt;/A&gt; - &lt;/P&gt;&lt;PRE&gt;yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage&lt;/PRE&gt;&lt;P&gt;The maximum percentage of disk space utilization allowed after which a disk is marked as bad. Values can range from 0.0 to 100.0. If the value is greater than or equal to 100, the nodemanager will check for full disk. This applies to yarn-nodemanager.local-dirs and yarn.nodemanager.log-dirs.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 13:48:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167866#M25093</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-04-14T13:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167867#M25094</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; &lt;/P&gt;&lt;P&gt;How to find which disk is marked as bad?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 14:01:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167867#M25094</guid>
      <dc:creator>Nilesh</dc:creator>
      <dc:date>2016-04-14T14:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167868#M25095</link>
      <description>&lt;P&gt;Generally it should be visible on RM UI once you click on the unhealthy nodes.&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;You can go the unhealthy node(http://&amp;lt;unhealthy-node-manager&amp;gt;:8042/jmx) and check JMX&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3443-screen-shot-2016-04-14-at-125436-pm.png" style="width: 1200px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20260i76287D225673603C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3443-screen-shot-2016-04-14-at-125436-pm.png" alt="3443-screen-shot-2016-04-14-at-125436-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:04:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167868#M25095</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2019-08-18T11:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167869#M25096</link>
      <description>&lt;P&gt;Hi @Nilesh, &lt;/P&gt;&lt;P&gt;I am too facing same issue, could you please suggest me if you have solution.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 21:26:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167869#M25096</guid>
      <dc:creator>cherukuri_49</dc:creator>
      <dc:date>2017-01-11T21:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167870#M25097</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I am also facing the same issue. but My server hard disk is new. There is no warning/alert in my Ambari level. &lt;/P&gt;&lt;P&gt;Once my current job completes, then only the second job is allowed to execute.. &lt;/P&gt;&lt;P&gt;If my first job is running for 60 minutes, my second job is on hold. Any suggestions.&lt;/P&gt;&lt;P&gt;server capacity : 16 core , 64 GB RAM &lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Muthu &lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 21:52:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167870#M25097</guid>
      <dc:creator>smkmuthu</dc:creator>
      <dc:date>2018-08-03T21:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Mapreduce job hang, waiting for AM container to be allocated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167871#M25098</link>
      <description>&lt;P&gt;Hi, this Looks like fifo-scheduling / capacity scheduling with 1 group only  Try to switch to fair scheduling in yarn.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Volker&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 22:22:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Mapreduce-job-hang-waiting-for-AM-container-to-be-allocated/m-p/167871#M25098</guid>
      <dc:creator>volker_kuechenh</dc:creator>
      <dc:date>2018-09-04T22:22:49Z</dc:date>
    </item>
  </channel>
</rss>

